DataQueue<TEvent> class

The class handles event and command queues.

Events manipulating available with CommandBase commands.

Constructors

DataQueue()
Creates the DataQueue that handles event and command queues.
DataQueue.withData(List<TEvent> events)
Creates the DataQueue that contains the events as initial data.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(TEvent event) → void
Adds the event to the events queue.
addAll(List<TEvent> events) → void
Adds all events to the events queue in iteration order.
execute<TResult>(CommandBase<TEvent, TResult> command) Future<TResult>
Adds the command to the commands queue.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
terminate() → void
Terminates all commands by throwing TerminateException.
toString() String
A string representation of this object.
inherited

Operators

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