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

A blank Timer that never fires #42

Closed
ghost opened this issue Nov 28, 2020 · 1 comment · Fixed by #87
Closed

A blank Timer that never fires #42

ghost opened this issue Nov 28, 2020 · 1 comment · Fixed by #87

Comments

@ghost
Copy link

ghost commented Nov 28, 2020

How about a default Timer::new() constructor that makes a timer that never fires? Of course, that timer would be possible to update with set_at(), set_after() and so on.

I'm inclined to just add this constructor (and a Default impl for Timer) but am wondering if anyone has objections?

@notgull
Copy link
Member

notgull commented Aug 18, 2022

This seems like a good idea to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant