Function aeron_exclusive_publication_revoke

Source
pub unsafe extern "C" fn aeron_exclusive_publication_revoke(
    publication: *mut aeron_exclusive_publication_t,
    on_close_complete: aeron_notification_t,
    on_close_complete_clientd: *mut c_void,
) -> c_int
Expand description

Asynchronously revoke and close the publication. Will callback on the on_complete notification when the publicaiton is closed. The callback is optional, use NULL for the on_complete callback if not required.

@param publication to revoke and close @param on_close_complete optional callback to execute once the publication has been revoked, closed and freed. This may happen on a separate thread, so the caller should ensure that clientd has the appropriate lifetime. @param on_close_complete_clientd parameter to pass to the on_complete callback. @return 0 for success or -1 for error.