BroadcastEventBus class

The default in-process EventBus, backed by a broadcast stream.

Implemented types

Constructors

BroadcastEventBus()
Creates a broadcast event bus.

Properties

events → Stream<OmnyEvent>
The stream of all published events.
no setteroverride
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.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(OmnyEvent event) → void
Publishes event to all subscribers.
override
toString() → String
A string representation of this object.
inherited

Operators

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