sched.py 文件源码

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

项目:dsq 作者: baverman 项目源码 文件源码
def __iter__(self):
        if not self.intervals:
            return

        while True:
            e = heappop(self.intervals)
            next_run = e.point[0]
            heappush(self.intervals, e.shift())
            yield next_run, e.action
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号