Skip to main content

NotifySender

Type Alias NotifySender 

Source
pub type NotifySender = Sender<(SessionNotification, Sender<()>)>;
Expand description

Sender half for delivering session notifications to the per-session drainer.

pub (not pub(crate)) solely so SessionStatusNotifier::new can appear in the public API: it lets integration tests outside this crate construct a real notifier bound to a plain mpsc::channel, without a full AcpContext/ACP connection.

Aliased Typeยง

pub struct NotifySender { /* private fields */ }