Skip to main content

Crate nidus_events

Crate nidus_events 

Source
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§

EventBus
In-process typed event bus.
EventObserverChannel
Observer implementation that sends observed event contexts to a channel.
EventSubscriber
Subscription handle for an event bus.
ObservedEventBus
Event bus wrapper that records publication context.
ObservedEventContext
Context emitted when an event is observed.

Traits§

EventObserver
Observer hook for event publication.

Functions§

event_observer_channel
Creates a channel-backed event observer and its receiver.