auto-update: Efficiently run periodic, on-demand actions
A common problem is the desire to have an action run at a scheduled interval, but only if it is needed. For example, instead of having every web request result in a new
getCurrentTime call, we'd like to have a single worker thread run every second, updating an
IORef. However, if the request frequency is less than once per second, this is a pessimization, and worse, kills idle GC.
This library allows you to define actions which will either be performed by a dedicated thread or, in times of low volume, will be executed by the calling thread.
[Skip to Readme]
|Versions [faq]||0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4, 0.1.1.5, 0.1.2, 0.1.2.1, 0.1.2.2, 0.1.3, 0.1.3.1, 0.1.4, 0.1.4.1|
|Dependencies||base (==4.*) [details]|
|Uploaded||by MichaelSnoyman at Mon Oct 6 05:17:48 UTC 2014|
|Distributions||Arch:0.1.4.1, Debian:0.1.4, Fedora:0.1.4, FreeBSD:0.1.2.2, LTSHaskell:0.1.4.1, NixOS:0.1.4.1, Stackage:0.1.4.1, openSUSE:0.1.4.1|
|Downloads||67462 total (590 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees