auto-update 0.1.2 → 0.1.2.1
raw patch · 4 files changed
+15/−10 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +1/−0
- README.md +11/−3
- auto-update.cabal +3/−6
- changelog.md +0/−1
+ ChangeLog.md view
@@ -0,0 +1,1 @@+__0.1.2__ Added Control.Debounce
README.md view
@@ -1,5 +1,13 @@-See https://github.com/yesodweb/yesod-scaffold/pull/15+## auto-update -Todo:+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 1getCurrentTime1 call, we'd like to have a single worker thread+run every second, updating an 1IORef1. However, if the request frequency is+less than once per second, this is a pessimization, and worse, kills idle GC. -- Add ThreadId to prevent race condition.+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](https://github.com/yesodweb/yesod-scaffold/pull/15).
auto-update.cabal view
@@ -1,10 +1,7 @@ name: auto-update-version: 0.1.2+version: 0.1.2.1 synopsis: Efficiently run periodic, on-demand actions-description:- 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.+description: API docs and the README are available at <http://www.stackage.org/package/auto-update>. homepage: https://github.com/yesodweb/wai license: MIT license-file: LICENSE@@ -13,7 +10,7 @@ category: Control build-type: Simple extra-source-files: README.md- changelog.md+ ChangeLog.md cabal-version: >=1.10 library
− changelog.md
@@ -1,1 +0,0 @@-__0.1.2__ Added Control.Debounce