PyDocs

Nav

Networking and Interprocess Communication

loop.set_task_factory

asyncio

methodnot WASI
  • loop.set_task_factory(factory)
Set a task factory that will be used by loop.create_task().
Changed in 3.13.3, 3.13.4, 3.14
  • 3.13.3: Required that all kwargs are passed on to asyncio.Task.
  • 3.13.4: name is no longer passed to task factories. context is no longer passed to task factories if it is None. Changed in version 3.14: name and context are now unconditionally passed on to task factories again.
  • 3.14: name and context are now unconditionally passed on to task factories again.
0 Examples
No examples for asyncio/loop.set_task_factory.
See Also
No see-alsos for asyncio/loop.set_task_factory
0 Notes
No notes for loop.set_task_factory