PyDocs

Nav

Networking and Interprocess Communication

loop.set_default_executor

asyncio

methodnot WASI
  • loop.set_default_executor(executor)
Set executor as the default executor used by run_in_executor(). executor must be an instance of ThreadPoolExecutor, which includes InterpreterPoolExecutor.
Changed in 3.11
  • 3.11: executor must be an instance of ThreadPoolExecutor.
0 Examples
No examples for asyncio/loop.set_default_executor.
See Also
No see-alsos for asyncio/loop.set_default_executor
0 Notes
No notes for loop.set_default_executor