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.


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


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.
reject() → void
Rejects this transaction without updating the parent queue.
toString() String
A string representation of this object.


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