Function libaeron_sys::aeron_add_available_counter_handler

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

Add a handler to be called when a new counter becomes available.

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