It would be nice to add an example demonstrating the use of asyncio with ThreadPoolExecutor and ProcessPoolExecutor.
idea is to start an asyncio server and delegate blocking operations (that dont support asyncio) to either a ThreadPoolExecutor or a ProcessPoolExecutor.
It would be nice to add an example demonstrating the use of asyncio with ThreadPoolExecutor and ProcessPoolExecutor.
idea is to start an asyncio server and delegate blocking operations (that dont support asyncio) to either a ThreadPoolExecutor or a ProcessPoolExecutor.
This is a good resource - https://pymotw.com/3/asyncio/executors.html another one - https://superfastpython.com/threadpoolexecutor-vs-asyncio/