Skip to content
This repository was archived by the owner on May 18, 2023. It is now read-only.

immediately fire a timer reset to negative duration#55

Closed
sukunrt wants to merge 2 commits intobenbjohnson:masterfrom
sukunrt:immediate-timer-reset
Closed

immediately fire a timer reset to negative duration#55
sukunrt wants to merge 2 commits intobenbjohnson:masterfrom
sukunrt:immediate-timer-reset

Conversation

@sukunrt
Copy link
Copy Markdown

@sukunrt sukunrt commented May 12, 2023

follow up to #50
fixes: #56

This behaviour is equivalent to stdlib timer.

I'm also ensuring that time doesn't move backwards on creating and resetting negative timers.

@benbjohnson
Copy link
Copy Markdown
Owner

I was going to merge this in, cut a release, and archive the project. However, the other PR I just merged caused conflicts and I don't think I'm up for debugging it. I suggest using a fork of this repo as it's not maintained anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

timer reset to a negative duration doesn't fire until clock is advanced

2 participants