timer-wheel v0.2.0 Release Notes
Release Date: 2019-02-03 // about 6 years ago-
โ Added
- โ Add
destroy
function, for reaping the background thread - โ Add
recurring_
function
๐ Changed
- ๐ป If the timer wheel reaper thread crashes, it will propagate the exception to the thread that spawned it
new
may now throwInvalidTimerWheelConfig
- ๐ The cancel action returned by
register
is now memoized, which fixes a bug involving trying to cancel arecurring
timer twice. The second call used to spin forever and peg a CPU - ๐ Use
Config
type for creating a timer wheel - ๐ Change argument order around
- ๐ Rename
new
tocreate
- ๐ Make recurring timers more accurate
- โ Add