Skip to content

v0.0.3

Compare
Choose a tag to compare
@raphael raphael released this 23 Jul 22:33
· 9 commits to main since this release
1e9f0ec

What's Changed

  • Add ticker and scheduler to pool package
  • Add TestAndSet to rmap package
  • Fix bug in pool package that logged incorrect errors on stopping jobs
  • Fix bug in pool package in logic handing job dispatch return status

The rmap package now supports testing values before setting them atomically via the new TestAndSet method of the Map struct.
The pool package now supports creating distributed tickers where each tick executes in exactly one node via the NewTicker method of the node struct.
Both functionality are used to add the ability to create schedules that start and stop jobs on a recurring basis via the new Schedule method of the node struct.

Full Changelog: v0.0.2...v0.0.3