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

Allow timers to be dynamically disabled/enabled #45

Open
mhthies opened this issue Dec 6, 2021 · 0 comments
Open

Allow timers to be dynamically disabled/enabled #45

mhthies opened this issue Dec 6, 2021 · 0 comments
Labels
enhancement Improvement to an existing feature

Comments

@mhthies
Copy link
Owner

mhthies commented Dec 6, 2021

Maybe add an attribute enabled: bool and method enable(enabled: bool) -> None to all timers.
An additional wrapper class, inheriting from Readable[bool] and Writable[bool], could transform this into a connectable object.

It could also be made Reading[bool] to allow initialization from persistence.

@mhthies mhthies added the enhancement Improvement to an existing feature label May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant