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

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited