def next(self):
"""Returns a `.Future` that will yield the next available result.
Note that this `.Future` will not be the same object as any of
the inputs.
"""
self._running_future = TracebackFuture()
if self._finished:
self._return_result(self._finished.popleft())
return self._running_future
gen.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录