FutureRecord2<T1, T2> extension
Parallel operations on a record of futures.
Waits for futures in parallel.
Waits for all the futures in this record. Returns a record of the values, if all futures are successful.
The returned future is completed when all the futures have completed. If any of the futures do not complete, nor does the returned future.
If some futures complete with an error,
the returned future completes with a ParallelWaitError.
The ParallelWaitError.values is a record of the values of
successful futures, and null
for futures with errors.
The ParallelWaitError.errors is a record of the same shape,
with null
values for the successful futures
and an AsyncError with the error of futures
which completed with an error.
- @Since("3.0")