timer-wheel v0.2.0 Release Notes

Release Date: 2019-02-03 // almost 3 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 throw InvalidTimerWheelConfig
    • ๐Ÿ›  The cancel action returned by register is now memoized, which fixes a bug involving trying to cancel a recurring 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 to create
    • ๐Ÿ‘‰ Make recurring timers more accurate