EventBus class abstract
A publish/subscribe bus for OmnyEvents.
The Hub publishes lifecycle and operational events here; subscribers (the event aggregator, metrics, future websocket/SSE streamers) consume them.
- Implementers
Constructors
- EventBus()
Properties
Methods
-
close(
) → Future< void> - Releases resources held by the bus.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
OmnyEvent event) → void -
Publishes
eventto all subscribers. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited