Skip to content

mpy-scheduler v1.2.0

Choose a tag to compare

@simonl65 simonl65 released this 26 Aug 11:25
· 7 commits to main since this release

Major (breaking changes)

  • None.

Minor (functionality added in a backward compatible manner)

  • run() now yields the number of tasks that fired this round with interval_ms > 0, letting callers ask "was anything actually due this round" without a timing-threshold proxy. Tasks with interval_ms == 0 are excluded from the count since they fire unconditionally every round and carry no signal about whether the round was busy. Existing callers that call next(scheduler) and ignore the return value are unaffected.

Patch (backward compatible bug fixes)

  • None.