LocalSubscription class

Handle for EventBusBroker.subscribeLocal: pull events in-process. take returns the next event (waiting up to the timeout), or null; dropped counts this subscription's drop-oldest losses.

Properties

dropped → int
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() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
take([Duration timeout = const Duration(seconds: 1)]) → Future<Event?>
toString() → String
A string representation of this object.
inherited

Operators

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