MemotivaAsynchronous programming and asyncio

What is asyncio.gather?

Asynchronous programming and asyncio

Audio flashcard · 0:15

Nortren·

What is asyncio.gather?

0:15

Gather runs multiple awaitables concurrently and waits for all of them to complete, returning their results as a list. It is the standard way to launch many tasks in parallel and collect their results. If any task raises an exception, gather either propagates it or returns it depending on the return_exceptions flag.
docs.python.org