state.py 文件源码

python
阅读 41 收藏 0 点赞 0 评论 0

项目:ribosome 作者: tek 项目源码 文件源码
def run_coro_when_free(self, coro: Awaitable) -> None:
        while self._loop.is_running():
            time.sleep(.01)
        self._loop.run_until_complete(coro)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号