Function libaeron_sys::aeron_remove_close_handler

source ยท
pub unsafe extern "C" fn aeron_remove_close_handler(
    client: *mut aeron_t,
    pair: *mut aeron_on_close_client_pair_t
) -> c_int
Expand description

Remove a previously added handler to be called when client is closed.

NOTE: This function blocks until the handler is removed by the client conductor thread.

@param client for the counter @param pair holding the handler to call and a clientd to pass when called. @return 0 for success and -1 for error