All Versions
5
Latest Version
Avg Release Cycle
-
Latest Release
1738 days ago
Changelog History
Changelog History
-
v0.3.0 Changes
June 18, 2020โ Added
- โ Add
with
- โ Add support for GHC 8.8, GHC 8.10
๐ Changed
- ๐ Change type of
spokes
fromNatural
toInt
- Change order of delay and action arguments in
register
,register_
,recurring
, andrecurring_
- Simplify
cancel
to returnTrue
at most once - Throw an error if a negative delay is provided to
register
,register_
,recurring
, orrecurring_
- ๐ Fix underflow bug that affected recurring timers
โ Removed
- โ Remove
create
,destroy
- โ Remove
TimerWheelDied
exception.with
now simply re-throws the exception that the timer wheel thread throws - โ Remove
InvalidTimerWheelConfig
exception.error
is used instead - โ Remove support for GHC < 8.6
- โ Add
-
v0.2.0 Changes
February 03, 2019โ 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
-
v0.2.0.1 Changes
May 19, 2019๐ Changed
- Swapped out
ghc-prim
andprimitive
forvector
- Swapped out
-
v0.1.0 Changes
July 22, 2018โ Added
- ๐ Initial release
-
v0.1.0-r1
September 30, 2018