3synopsis: Efficiently run periodic, on-demand actions
5 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.
7 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.
8homepage: https://github.com/yesodweb/wai
11author: Michael Snoyman
12maintainer: michael@snoyman.com
15extra-source-files: README.md
21 exposed-modules: Control.AutoUpdate
24 other-modules: Control.AutoUpdate.Util
25 build-depends: base >= 4 && < 5
26 default-language: Haskell2010
28-- Test suite is currently not robust enough, gives too many false negatives.
32-- other-modules: Control.AutoUpdateSpec
34-- hs-source-dirs: test
35-- type: exitcode-stdio-1.0
36-- build-depends: base, auto-update, hspec
37-- default-language: Haskell2010
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list