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

Method _discard_future_result

python/python3/tornado/ioloop.py:762–764  ·  view source on GitHub ↗

Avoid unhandled-exception warnings from spawned coroutines.

(self, future: Future)

Source from the content-addressed store, hash-verified

760 app_log.error("Exception in callback %r", callback, exc_info=True)
761
762 def _discard_future_result(self, future: Future) -> None:
763 """Avoid unhandled-exception warnings from spawned coroutines."""
764 future.result()
765
766 def split_fd(
767 self, fd: Union[int, _Selectable]

Callers

nothing calls this directly

Calls 1

resultMethod · 0.80

Tested by

no test coverage detected