PyDocs

Nav

Networking and Interprocess Communication

loop.shutdown_default_executor

asyncio

async method · Added in 3.9not WASI
  • loop.shutdown_default_executor(timeout=None)
Schedule the closure of the default executor and wait for it to join all of the threads in the ThreadPoolExecutor. Once this method has been called, using the default executor with loop.run_in_executor() will raise a RuntimeError.
Changed in 3.12
  • 3.12: Added the timeout parameter.
0 Examples
No examples for asyncio/loop.shutdown_default_executor.
See Also
No see-alsos for asyncio/loop.shutdown_default_executor
0 Notes
No notes for loop.shutdown_default_executor