MCPcopy
hub / github.com/tornadoweb/tornado / _discard_future_result

Method _discard_future_result

tornado/ioloop.py:780–782  ·  view source on GitHub ↗

Avoid unhandled-exception warnings from spawned coroutines.

(self, future: Future)

Source from the content-addressed store, hash-verified

778 app_log.error("Exception in callback %r", callback, exc_info=True)
779
780 def _discard_future_result(self, future: Future) -> None:
781 """Avoid unhandled-exception warnings from spawned coroutines."""
782 future.result()
783
784 def split_fd(
785 self, fd: Union[int, _Selectable]

Callers

nothing calls this directly

Calls 1

resultMethod · 0.80

Tested by

no test coverage detected