Return the first future to settle; losers continue running (until the main operation settles — see OnMainExit) but their results are discarded. Heterogeneous-tuple typing — race([fA, fB]) yields Future<A | B>. Mirrors Promise.race.
OnMainExit
race([fA, fB])
Future<A | B>
Promise.race
Return the first future to settle; losers continue running (until the main operation settles — see
OnMainExit) but their results are discarded. Heterogeneous-tuple typing —race([fA, fB])yieldsFuture<A | B>. MirrorsPromise.race.