AsyncBag<T> class

Inheritance
Available Extensions

Constructors

AsyncBag()

Properties

arrayType Type?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ready bool
getter/setter pairinherited
result List<T>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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