Skip to main content

Module events

Module events 

Source
Expand description

UI-agnostic event emission. Consumers — desktop shells, CLI tail commands, integration tests — implement EventSink and pass it to crate::Service::build. The engine never touches a UI framework directly.

Structs§

ChannelSink
Fan out via a tokio::sync::broadcast so multiple subscribers (CLI tail, tests) can observe the same stream.
ComposedSink
Trivial fan-out wrapper so an embedder can plug in more than one sink without writing a custom struct.
LogSink
Trace each event through tracing::info!. Handy default for the headless postcrate binary and for tests that just want logs.
ServerStatus

Enums§

BounceKind
CoreEvent
Engine event surface. Adding a variant is a semver-minor change — consumers using Sink: EventSink only have to handle what they know.
MailboxStateChange

Traits§

EventSink
Implementors receive all engine-level events.