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

Method _run_callback

tornado/simple_httpclient.py:535–540  ·  view source on GitHub ↗
(self, response: HTTPResponse)

Source from the content-addressed store, hash-verified

533 release_callback()
534
535 def _run_callback(self, response: HTTPResponse) -> None:
536 self._release()
537 if self.final_callback is not None:
538 final_callback = self.final_callback
539 self.final_callback = None # type: ignore
540 self.io_loop.add_callback(final_callback, response)
541
542 def _handle_exception(
543 self,

Callers 2

_handle_exceptionMethod · 0.95
finishMethod · 0.95

Calls 2

_releaseMethod · 0.95
add_callbackMethod · 0.45

Tested by

no test coverage detected