method Task.race Task.race<T,E,>(tasks: Task<T, E>[]): Task<Result<T, E[]>, never> Runs tasks concurrently and resolves with the first settled result. Note: If all tasks fail, the errors array is in completion order (the order tasks finished), not task order. This is nondeterministic due to concurrent execution. Type Parameters T E Parameters tasks: Task<T, E>[] Return Type Task<Result<T, E[]>, never>