Std.Concurrent.Future.race
1 declaration
fn
race: &Std.Concurrent.Cancel.Token -> &Array[fn(Std.Concurrent.Cancel.Token) -> T] -> Result[T, Std.Concurrent.ConcurrentError]Run every action and answer the first to settle, value or failure. The others are cancelled through their tokens and waited for before this answers, so no thread outlives the race.
