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)
| 617 | return self.add_timeout(when, callback, *args, **kwargs) |
| 618 | |
| 619 | def remove_timeout(self, timeout: object) -> None: |
| 620 | """Cancels a pending timeout. |
| 621 | |
| 622 | The argument is a handle as returned by `add_timeout`. It is |
| 623 | safe to call `remove_timeout` even if the callback has already |
| 624 | been run. |
| 625 | """ |
| 626 | raise NotImplementedError() |
| 627 | |
| 628 | def add_callback(self, callback: Callable, *args: Any, **kwargs: Any) -> None: |
| 629 | """Calls the given callback on the next I/O loop iteration. |
no outgoing calls