python – 等待为asyncio.Event设置超时或事件 2019年8月4日 python 0条评论 244次阅读 0人点赞 我有一个类,其方法如下所示: # self.stop_event -> threading.Event def run(self): while not self.stop_event.wait(3): # i.e…