Return an Event instance. Returns None if |block| is false and there is no event pending, otherwise waits for the completion of an event.
(self, block: bool = True)
| 94 | |
| 95 | @abstractmethod |
| 96 | def get_event(self, block: bool = True) -> Event | None: |
| 97 | """Return an Event instance. Returns None if |block| is false |
| 98 | and there is no event pending, otherwise waits for the |
| 99 | completion of an event.""" |
| 100 | ... |
| 101 | |
| 102 | @abstractmethod |
| 103 | def push_char(self, char: int | bytes) -> None: |