loop.run_in_executor() 方法可以與 concurrent.futures.ThreadPoolExecutor 結合使用,以在不同的OS線程中執行阻塞代碼,而不會阻塞事件循環在其中運行的OS線程。 b60].
確定! 回上一頁