on wai-app-static/3.0.0.3 help sign in
typeable/wai/auto-update/auto-update.cabal
37 lines 1.7 kB history raw
1name: auto-update
2version: 0.1.2
3synopsis: Efficiently run periodic, on-demand actions
4description:
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.
6 .
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
9license: MIT
10license-file: LICENSE
11author: Michael Snoyman
12maintainer: michael@snoyman.com
13category: Control
14build-type: Simple
15extra-source-files: README.md
16 changelog.md
17cabal-version: >=1.10
19library
20 ghc-options: -Wall
21 exposed-modules: Control.AutoUpdate
22 Control.Debounce
23 Control.Reaper
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.
30-- test-suite spec
31-- main-is: Spec.hs
32-- other-modules: Control.AutoUpdateSpec
33-- Control.ReaperSpec
34-- hs-source-dirs: test
35-- type: exitcode-stdio-1.0
36-- build-depends: base, auto-update, hspec
37-- default-language: Haskell2010