timer-wheel: A timer wheel

[ bsd3, data, library ] [ Propose Tags ]

This library provides a timer wheel data structure for

  • (Almost) O(1) registering IO actions to fire after a given amount of time

  • O(1) canceling registered actions

It is similar to TimerManager from GHC.Event, but supports recurring timers, can scale to handle many more registered timers.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.2.0, 0.2.0.1, 0.3.0
Change log CHANGELOG.md
Dependencies atomic-primops (>=0.8 && <0.9), base (>=4.9 && <4.17), psqueues (>=0.2.7 && <0.3), vector (>=0.10 && <0.13) [details]
License BSD-3-Clause
Copyright (c) 2018-2020, Mitchell Rosen
Author Mitchell Rosen
Maintainer Mitchell Rosen <mitchellwrosen@gmail.com>
Revised Revision 2 made by mitchellwrosen at 2022-01-13T07:30:56Z
Category Data
Home page https://github.com/mitchellwrosen/timer-wheel
Bug tracker https://github.com/mitchellwrosen/timer-wheel/issues
Source repo head: git clone git://github.com/mitchellwrosen/timer-wheel.git
Uploaded by mitchellwrosen at 2020-06-19T00:28:37Z
Distributions LTSHaskell:0.3.0, NixOS:0.3.0, Stackage:0.3.0
Downloads 1569 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-06-19 [all 1 reports]

Readme for timer-wheel-0.3.0

[back to package description]

timer-wheel

GitHub CI Hackage Stackage LTS Stackage Nightly Dependencies