IterableFutureExtension<T> extension

Extension for Iterable<Future<T>>.

on

Methods

resolveAll() Future<List<T>>
resolveAllJoined<R>(FutureOr<R> joiner(List<T> l)) Future<R>
Resolves this Futures and join values with joiner.
resolveAllMapped<R>(R mapper(T e)) Future<List<R>>
Resolves this Futures and maps with mapper.
resolveAllReduced<R>(T reducer(T value, T element)) Future<T>
Resolves this Futures and reduces values with reducer.
resolveAllValidated(bool validate(T e), {T? defaultValue}) Future<List<T>>
Resolves this Futures and validates with validate.
waitFutures() Future<List<T>>
Waits this Futures
waitFuturesAndReturnValue<V>(V value) Future<V>
Waits this Futures and return value.