CountCommand<TEvent> class

The command counts all events in a queue.

The returned future will be complete with an event count in a queue.

Inheritance

Constructors

CountCommand()
Creates CountCommand that counts all events in a queue.

Properties

completer Completer<int>
The completer manipulates the future returned by future.
finalinherited
future Future<int>
Returns the future, which will be complete when the command conditions are met.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(ListQueue<TEvent> eventQueue) bool
Handle available events.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
terminate() → void
Terminates this command by throwing the TerminateException.
inherited
toString() String
A string representation of this object.
inherited

Operators

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