阅读背景:

解决async 运行多线程时报错RuntimeError: There is no current event loop in thread 'Thread-2'

来源:互联网 

原来使用:

loop = asyncio.get_event_loop()
task = asyncio.ensure_future(do_work(checker))task = as



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: