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

events Stream<OmnyEvent>
The stream of all published events.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 event to all subscribers.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited