PyDocs

Nav

Networking and Interprocess Communication

create_task

asyncio

function · Added in 3.7 (source) not WASI
  • create_task(coro, *, name=None, context=None, eager_start=None, **kwargs)
Schedule the execution of a coroutine object in a spawn task.

Return a Task object.
Changed in 3.8, 3.11, 3.14
  • 3.8: Added the name parameter.
  • 3.11: Added the context parameter.
  • 3.14: Added the eager_start parameter by passing on all kwargs.
0 Examples
No examples for asyncio/create_task.
See Also
No see-alsos for asyncio/create_task
0 Notes
No notes for create_task