4 ms·
I'm sure you can. And if my aunt had balls, she'd be my uncle.
by ris 6y ago
I'm sure you can. And if my aunt had balls, she'd be my uncle.
- ghostwriter 6y agothen she's definitely your uncle and you had better double-check her pronoun, because ThreadPoolExecutor exists for a reason, and it's widely used in pair with run_in_executor() [1], and the pool itself can be shared with other non-executor-related tasks scheduled to run preemptively. [1] https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_in_executor https://docs.python.org/3/library/asyncio-eventloop.html#asy...