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

Method _done_callback

python/python3/tornado/gen.py:407–411  ·  view source on GitHub ↗
(self, done: Future)

Source from the content-addressed store, hash-verified

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():
409 self._return_result(done)
410 else:
411 self._finished.append(done)
412
413 def _return_result(self, done: Future) -> Future:
414 """Called set the returned future's state that of the future

Callers

nothing calls this directly

Calls 3

_return_resultMethod · 0.95
doneMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected