An event with a ``wait_for`` method.
| 7 | |
| 8 | |
| 9 | class Event(_Event): |
| 10 | """An event with a ``wait_for`` method.""" |
| 11 | |
| 12 | async def wait(self, timeout: float | None = None): |
| 13 | return await wait_for( |
| 14 | super().wait(), |
| 15 | timeout=timeout or REACTPY_TESTING_DEFAULT_TIMEOUT.current, |
| 16 | ) |
no outgoing calls