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

Method remove_timeout

tornado/ioloop.py:637–644  ·  view source on GitHub ↗

Cancels a pending timeout. The argument is a handle as returned by `add_timeout`. It is safe to call `remove_timeout` even if the callback has already been run.

(self, timeout: object)

Source from the content-addressed store, hash-verified

635 return self.add_timeout(when, callback, *args, **kwargs)
636
637 def remove_timeout(self, timeout: object) -> None:
638 """Cancels a pending timeout.
639
640 The argument is a handle as returned by `add_timeout`. It is
641 safe to call `remove_timeout` even if the callback has already
642 been run.
643 """
644 raise NotImplementedError()
645
646 def add_callback(self, callback: Callable, *args: Any, **kwargs: Any) -> None:
647 """Calls the given callback on the next I/O loop iteration.

Callers 15

run_syncMethod · 0.95
on_connect_doneMethod · 0.45
clear_timeoutMethod · 0.45
clear_timeoutsMethod · 0.45
with_timeoutFunction · 0.45
waitMethod · 0.45
_set_timeoutFunction · 0.45
closeMethod · 0.45
_set_timeoutMethod · 0.45
waitMethod · 0.45
acquireMethod · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by 1

waitMethod · 0.36