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

Method clear_timeouts

tornado/tcpclient.py:191–195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189 self.close_streams()
190
191 def clear_timeouts(self) -> None:
192 if self.timeout is not None:
193 self.io_loop.remove_timeout(self.timeout)
194 if self.connect_timeout is not None:
195 self.io_loop.remove_timeout(self.connect_timeout)
196
197 def close_streams(self) -> None:
198 for stream in self.streams:

Callers 1

on_connect_doneMethod · 0.95

Calls 1

remove_timeoutMethod · 0.45

Tested by

no test coverage detected