StreamQueueTransaction<T> class

A transaction on a StreamQueue, created by StreamQueue.startTransaction.

Copies of the parent queue may be created using newQueue. Calling commit moves the parent queue to a copy's position, and calling reject causes it to continue as though StreamQueue.startTransaction was never called.

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

commit(StreamQueue<T> queue) → void
Commits a queue created using newQueue.
newQueue() StreamQueue<T>
Creates a new copy of the parent queue.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject() → void
Rejects this transaction without updating the parent queue.
toString() String
A string representation of this object.
inherited

Operators

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