3 ms·
the default executor must be ThreadPoolExecutor. But you are right you can pass ProcessPoolExecutor too. https://docs.python.org/3/library/asyncio-eventloop.ht
by d0mine 2y ago
the default executor must be ThreadPoolExecutor. But you are right you can pass ProcessPoolExecutor too.
https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_in_executor https://docs.python.org/3/library/asyncio-eventloop.html#asy...