Popularity
3.6
Declining
Activity
0.0
Stable
5
3
1
Monthly Downloads: 154
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Concurrency
Async
Latest version: v0.1.2
async-timer alternatives and similar packages
Based on the "async" category.
Alternatively, view async-timer alternatives based on common mentions on social networks and blogs.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of async-timer or a related project?
README
async-timer
About
This is a lightweight package built on top of the async package providing easy to use periodic timers. This can be used for executing IO actions periodically.
Example:
let conf = defaultTimerConf & timerConfSetInitDelay 500 -- 500 ms
& timerConfSetInterval 1000 -- 1 s
withAsyncTimer conf $ \ timer -> do
forM_ [1..10] $ \_ -> do
timerWait timer
putStrLn "Tick"