PyDocs

Nav

Networking and Interprocess Communication

TaskGroup.create_task

asyncio

method of TaskGroup (source) not WASI
  • TaskGroup.create_task(coro, *, name=None, context=None, eager_start=None, **kwargs)
Create a new task in this group and return it.

Similar to `asyncio.create_task`.
Changed in 3.13, 3.14
  • 3.13: Close the given coroutine if the task group is not active.
  • 3.14: Passes on all kwargs to loop.create_task()
0 Examples
No examples for asyncio/TaskGroup.create_task.
See Also
No see-alsos for asyncio/TaskGroup.create_task
0 Notes
No notes for TaskGroup.create_task