SyncEventLine<T> class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subscriptions
↔ List<
SyncEventSubscription< T> > -
getter/setter pair
Methods
-
dispatch(
T event) → void -
Invokes the event chain with an
event
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe(
SyncEventConsumer< T> consumer, {int priority = EventPriority.normal}) → SyncEventSubscription<T> -
Subscribes a SyncEventConsumer function to this SyncEventLine with
a
priority
which defaults to EventPriority.normal. -
subscribeNext(
{int priority = EventPriority.normal}) → Future< T> -
Subscribes to this SyncEventLine with a
priority
which defaults to EventPriority.normal for one event. -
subscribeStream(
{int priority = EventPriority.normal}) → EventLineStream< T> -
Subscribes to this SyncEventLine with a
priority
which defaults to EventPriority.normal and returns all events as a Stream. -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
SyncEventSubscription< T> subscription) → void -
Unsubscribes an already registered
subscription
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited