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

Function timeout_callback

python/python3/tornado/gen.py:634–638  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

632 )
633
634 def timeout_callback() -> None:
635 if not result.done():
636 result.set_exception(TimeoutError("Timeout"))
637 # In case the wrapped future goes on to fail, log it.
638 future_add_done_callback(future_converted, error_callback)
639
640 timeout_handle = io_loop.add_timeout(timeout, timeout_callback)
641 if isinstance(future_converted, Future):

Callers

nothing calls this directly

Calls 2

future_add_done_callbackFunction · 0.90
doneMethod · 0.45

Tested by

no test coverage detected