The auto-update package

[Tags: library, mit]

API docs and the README are available at

[Skip to ReadMe]


Versions0.1.0.0,,,,,,, 0.1.2,,, 0.1.3,
Dependenciesbase (==4.*) [details]
AuthorMichael Snoyman
Home page
UploadedMon Apr 25 13:27:52 UTC 2016 by MichaelSnoyman
DistributionsArch:, Debian:0.1.3, FreeBSD:, LTSHaskell:, NixOS:0.1.3, Stackage:
Downloads36935 total (27 in last 30 days)
0 []
StatusDocs pending
Build status unknown [no reports yet]



Maintainers' corner

For package maintainers and hackage trustees

Readme for auto-update-


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.

For original use case, see yesod-scaffold issue #15.