Skip to main content

EventSink

Type Alias EventSink 

Source
pub type EventSink = UnboundedSender<WorkerEvent>;
Expand description

The sink a worker writes events to. The dispatcher owns the receiver.

Unbounded so a worker never blocks on a slow consumer; events are cheap and the UI drains them promptly.

Aliased Typeยง

pub struct EventSink { /* private fields */ }