I see that asyncio.to_thread() method is been added @python 3.9+, it\'s description says it runs blocking codes on a separate thread to run at once. see example below: