Task

await_many/2

await_many(tasks, timeout \\ 5000)

Blocks the caller until all the given %Task{}s finish and returns their results as a list, in the same order as the tasks.