Flutter & Dart · Concept
Futures
Future.wait waits for multiple futures and gathers their results into a list. The list keeps input order, and the returned future fails if an input future fails.
Last updated
Syntax
static Future<List<T>> wait<T>(Iterable<Future<T>> futures, {bool eagerError = false, void cleanUp(T successValue)?})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
FutureFuture.delayedFuture.sync