SkipCommand<TEvent> class

The command skips the next skip events in a queue.

The returned future will complete when the needed count of events skips.

Inheritance

Constructors

SkipCommand(int skip)
Creates SkipCommand that skips the next skip 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
skip int
How many events are to skip.
final

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