Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] StopWatch class missing a way to tell if it's paused #1490

Closed
gyenesvi opened this issue Feb 26, 2024 · 0 comments
Closed

[Feature] StopWatch class missing a way to tell if it's paused #1490

gyenesvi opened this issue Feb 26, 2024 · 0 comments
Labels
enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime)

Comments

@gyenesvi
Copy link

The StopWatch class offers a way to pause it, but does not offer a way to decide if an instance is paused. This seems to be a hole in the API, and could be useful to keep track of some state changes without introducing an extra variable for that (I am assuming that the paused state is actually stored somewhere inside). I'd propose adding a method called paused, returning a bool.

@gyenesvi gyenesvi added enhancement New feature or request triage Issues that have not been triaged yet labels Feb 26, 2024
@laurensvalk laurensvalk added software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime) and removed triage Issues that have not been triaged yet labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request software: pybricks-micropython Issues with Pybricks MicroPython firmware (or EV3 runtime)
Projects
None yet
Development

No branches or pull requests

2 participants