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)
| 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. |
no outgoing calls