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. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


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 non-existent method or property is accessed. [...]
reject() → void
Rejects this transaction without updating the parent queue. [...]
toString() → String
Returns a string representation of this object.


operator ==(Object other) → bool
The equality operator. [...]