mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings
This commit is contained in:
@@ -88,11 +88,11 @@ class Timer:
|
||||
return self._task
|
||||
|
||||
def stop_no_wait(self) -> None:
|
||||
"""Stop the timer, and block until it exists."""
|
||||
"""Stop the timer."""
|
||||
self._task.cancel()
|
||||
|
||||
async def stop(self) -> None:
|
||||
"""Stop the timer, and block until it exists."""
|
||||
"""Stop the timer, and block until it exits."""
|
||||
self._task.cancel()
|
||||
await self._task
|
||||
|
||||
|
||||
Reference in New Issue
Block a user