pub type EventSink = Box<dyn Fn(AgentEvent) + Sync + Send>;Expand description
A sink for AgentEvents.
This is a boxed closure so callers can wire up whatever they like (printing, channels, metrics) without the crate dictating a concurrency model.
Aliased Typeยง
pub struct EventSink(/* private fields */);