Function rusteron_client::bindings::aeron_add_close_handler
source ยท pub unsafe extern "C" fn aeron_add_close_handler(
client: *mut aeron_t,
pair: *mut aeron_on_close_client_pair_t,
) -> c_int
Expand description
Add a handler to be called when client is closed.
NOTE: This function blocks until the handler is added 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