Wait for every future to settle; return their values in input order. Heterogeneous-tuple typing — all([fA, fB]) where fA: Future<A> and fB: Future<B> yields Future<[A, B]>. Mirrors Promise.all.
all([fA, fB])
fA: Future<A>
fB: Future<B>
Future<[A, B]>
Promise.all
Wait for every future to settle; return their values in input order. Heterogeneous-tuple typing —
all([fA, fB])wherefA: Future<A>andfB: Future<B>yieldsFuture<[A, B]>. MirrorsPromise.all.