collect_all_async()
Return an asyncio.Future that resolves when every task finishes.
Usage
collect_all_async(tasks)The async form of collect_all().
Parameters
tasks: _Iterable[Task]-
The
Taskhandles to wait on.
Returns
Anasyncio.Futureresolving with all values in input order. The-
first failure by position rejects with the exception collect_all() raises, including its
indexattribute. Only that handle is consumed, and the rest stay collectible. Cancelling the Future detaches every task without cancelling it.