MCPcopy Create free account
hub / github.com/EasyIME/PIME / next

Method next

python/python3/tornado/gen.py:394–405  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

392 return True
393
394 def next(self) -> Future:
395 """Returns a `.Future` that will yield the next available result.
396
397 Note that this `.Future` will not be the same object as any of
398 the inputs.
399 """
400 self._running_future = Future()
401
402 if self._finished:
403 return self._return_result(self._finished.popleft())
404
405 return self._running_future
406
407 def _done_callback(self, done: Future) -> None:
408 if self._running_future and not self._running_future.done():

Callers 12

__anext__Method · 0.95
test_already_doneMethod · 0.95
test_iteratorMethod · 0.95
nFunction · 0.80
bootstrap.jsFile · 0.80
bootstrap.min.jsFile · 0.80
_advanceInputGroupFunction · 0.80
test_no_refMethod · 0.80
jquery-ui.min.jsFile · 0.80
jquery-ui.jsFile · 0.80

Calls 1

_return_resultMethod · 0.95

Tested by 4

test_already_doneMethod · 0.76
test_iteratorMethod · 0.76
test_no_refMethod · 0.64