loop.py 文件源码

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

项目:windflow 作者: hartym 项目源码 文件源码
def get_event_loop(debug=False):
    if not debug:
        import uvloop
        asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
        asyncio.set_event_loop(uvloop.new_event_loop())
    return asyncio.get_event_loop()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号