You could use loop.run_in_executor with ProcessPoolExecutor to start function at a separate process. loop = asyncio.get_event_loop() with concurrent.futures ...
確定! 回上一頁