Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
merge interval and sleep-till to one function
The sleep-till function now returns a boolean to make it easy to do cycle-skipping like the old interval function does. The old interval function is deprecated for being a bit too special-purpose and maintaining implicit state. Better to make the user keep the timebase state explicit, I feel.
- Loading branch information
Showing
1 changed file
with
6 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters