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

type OnNewSubscription = fn(channel: CString, stream_id: i32, correlation_id: i64);

Function called by Aeron to deliver notification that the media driver has added a Subscription successfully.

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 channel of the Subscription @param stream_id within the channel of the Subscription @param correlation_id used by the Subscription for adding. Aka the registration_id returned by Aeron::add_subscription