IterableFutureExtension<T> extension

Extension for Iterable<Future<T>>.

on

Methods

resolveAll() Future<List<T>>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

resolveAllJoined<R>(FutureOr<R> joiner(List<T> l)) Future<R>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

Resolves this Futures and join values with joiner.
resolveAllMapped<R>(R mapper(T e)) Future<List<R>>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

Resolves this Futures and maps with mapper.
resolveAllReduced<R>(T reducer(T value, T element)) Future<T>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

Resolves this Futures and reduces values with reducer.
resolveAllValidated(bool validate(T e), {T? defaultValue}) Future<List<T>>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

Resolves this Futures and validates with validate.
waitFutures() Future<List<T>>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

Waits this Futures
waitFuturesAndReturnValue<V>(V value) Future<V>

Available on Iterable<Future<T>>, provided by the IterableFutureExtension extension

Waits this Futures and return value.