AsyncQueue<T> class
- Inheritance
-
- Object
- AsyncReply<
T?> - AsyncQueue
- Available Extensions
Constructors
Properties
Methods
-
add(
AsyncReply< T> reply) → dynamic -
asStream(
) → Stream< T?> -
Creates a Stream containing the result of this future.
inherited
-
catchError(
Function onError, {bool test(Object error)?}) → AsyncReply< T?> -
Handles errors emitted by this Future.
inherited
-
chunk(
dynamic callback(T?)) → AsyncReply< T?> -
inherited
-
error(
dynamic callback(AsyncException ex)) → AsyncReply< T?> -
inherited
-
next(
dynamic callback(T?)) → AsyncReply< T?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processQueue(
T? o) → void -
progress(
dynamic callback(ProgressType, int, int)) → AsyncReply< T?> -
inherited
-
remove(
AsyncReply< T> reply) → dynamic -
then<
R> (FutureOr< R> onValue(T? value), {Function? onError}) → AsyncReply<R> -
Register callbacks to be called when this future completes.
inherited
-
timeout(
Duration timeLimit, {FutureOr< T?> onTimeout()?}) → AsyncReply<T?> -
Stop waiting for this future after
timeLimit
has passed.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
trigger(
T? result) → AsyncReply< T?> -
inherited
-
triggerChunk(
T? value) → AsyncReply< T?> -
inherited
-
triggerError(
Exception exception) → AsyncReply< T?> -
inherited
-
triggerProgress(
ProgressType type, int value, int max) → AsyncReply< T?> -
inherited
-
whenComplete(
FutureOr action()) → Future< T?> -
Registers a function to be called when this future completes.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited