Expand description
Event bus abstractions.
The built-in bus is in-process and in-memory. It is useful for local domain events, tests, and adapters that bridge to a real broker, but it is not a durable queue and does not deliver events across processes.
Structs§
- Event
Bus - In-process typed event bus.
- Event
Observer Channel - Observer implementation that sends observed event contexts to a channel.
- Event
Subscriber - Subscription handle for an event bus.
- Observed
Event Bus - Event bus wrapper that records publication context.
- Observed
Event Context - Context emitted when an event is observed.
Traits§
- Event
Observer - Observer hook for event publication.
Functions§
- event_
observer_ channel - Creates a channel-backed event observer and its receiver.