*jA' @ S r SSKJr SSKJr SSKJr " S S5 rg)) TaskGroup )events)
exceptions)tasksc d \ rS rSrSrS rS rS rS rS r SSS .S
jr
S\S\4S
jr
S rS rSrg)r a Asynchronous context manager for managing groups of tasks.
Example use:
async with asyncio.TaskGroup() as group:
task1 = group.create_task(some_coroutine(...))
task2 = group.create_task(other_coroutine(...))
print("Both tasks have completed now.")
All tasks are awaited when the context manager exits.
Any exceptions other than `asyncio.CancelledError` raised within
a task will cancel all remaining tasks and wait for them to exit.
The exceptions are then combined and raised as an `ExceptionGroup`.
c SU l SU l SU l S U l S U l SU l [
5 U l / U l S U l S U l
g )NF)_entered_exiting _aborting_loop_parent_task_parent_cancel_requestedset_tasks_errors_base_error_on_completed_futselfs 9/opt/alt/python313/lib64/python3.13/asyncio/taskgroups.py__init__TaskGroup.__init__ sN
(-%e!% c S/nU R ( a' UR S[ U R 5 35 U R ( a' UR S[ U R 5 35 U R ( a UR S5 O"U R
( a UR S5 SR
U5 nSU S3$ ) N ztasks=zerrors=
cancellingentered z