README.md
1## auto-update
2
3A common problem is the desire to have an action run at a scheduled interval,
4but only if it is needed. For example, instead of having every web request
5result in a new `getCurrentTime` call, we'd like to have a single worker thread
6run every second, updating an `IORef`. However, if the request frequency is
7less than once per second, this is a pessimization, and worse, kills idle GC.
8
9This library allows you to define actions which will either be performed by a
10dedicated thread or, in times of low volume, will be executed by the calling
11thread.
12
13For original use case, see [yesod-scaffold issue #15](https://github.com/yesodweb/yesod-scaffold/pull/15).
14