Exit the app with the given result. Args: result: The app result returned by `run` or `run_async`.
(self, result: ReturnType)
| 560 | self.app.screen._on_timer_update() |
| 561 | |
| 562 | async def exit(self, result: ReturnType) -> None: |
| 563 | """Exit the app with the given result. |
| 564 | |
| 565 | Args: |
| 566 | result: The app result returned by `run` or `run_async`. |
| 567 | """ |
| 568 | await self._wait_for_screen() |
| 569 | await wait_for_idle() |
| 570 | self.app.exit(result) |
nothing calls this directly
no test coverage detected