[][src]Type Definition aeron_rs::context::OnAvailableCounter

type OnAvailableCounter = fn(counters_reader: &CountersReader, registration_id: i64, counter_id: i32);

Function called by Aeron to deliver notification of a Counter being available.

Implementations should do the minimum work for passing off state to another thread for later processing and should not make a reentrant call back into the Aeron instance.

@param counters_reader for more detail on the counter. @param registration_id for the counter. @param counter_id that is available.