Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
:: MonadUnliftIO m | |
=> Int | Timer interval in microseconds (for |
-> ResourceT m (MomentIO (Event Double)) |
An async process that will run forever and fire monotonic timestamp events.
Events would be processed serially on the timer thread and delays would be adjusted to keep up.
Events for the intervals "missed" would fire right away.