pub trait EventEmitter: Send + Sync {
// Required method
fn emit(&self, event: AgentEvent);
}Expand description
Sink for emitting AgentEvents from inside a LoopMutator.
The driver supplies a concrete implementation via LoopCtx::emitter.
Required Methods§
Sourcefn emit(&self, event: AgentEvent)
fn emit(&self, event: AgentEvent)
Forward event to all registered observers.