FutureQueue<T> class

Constructors

FutureQueue({required Future<T> seed, Duration? timeLimit})

Properties

future Future<T>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

append(Future<T> future(T? previous), {Duration? timeLimit}) Future<T>
Adds the given future to queue. Note that the previous value will be null if the last operation caused an exception.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
wait() Future<void>
Waits for queued events to finish.

Operators

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