PyDocs

Nav

Networking and Interprocess Communication

loop.run_in_executor

asyncio

async methodnot WASI
  • loop.run_in_executor(executor, func, *args)
Arrange for func to be called in the specified executor passing args as positional arguments.
Changed in 3.5.3
  • 3.5.3: loop.run_in_executor() no longer configures the max_workers of the thread pool executor it creates, instead leaving it up to the thread pool executor (ThreadPoolExecutor) to set the default.
0 Examples
No examples for asyncio/loop.run_in_executor.
See Also
No see-alsos for asyncio/loop.run_in_executor
0 Notes
No notes for loop.run_in_executor