AsyncBag<T> class
- Inheritance
-
- Object
- AsyncReply<
List< T> > - AsyncBag
- Available Extensions
Constructors
- AsyncBag()
Properties
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< onTimeout()?}) → AsyncReply<T> ?>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