method Task.all Task.all<T,E,>(tasks: Task<T, E>[]): Task<T[], E> Runs multiple tasks and collects results. Rejects on the first failure. Type Parameters T E Parameters tasks: Task<T, E>[] Return Type Task<T[], E>