@hackage stm-delay0.1.1.2
Updatable one-shot timer polled with STM
Categories
License
BSD-3-Clause
Maintainer
joeyadams3.14159@gmail.com
Links
Versions
Installation
Dependencies (2)
Dependents (13)
@cardano/marlowe-chain-sync, @hackage/timeout-snooze, @hackage/engine-io, @hackage/logging-effect, @hackage/acme-everything, @hackage/franz, Show all…
This library lets you create a one-shot timer, poll it using STM, and update it to ring at a different time than initially specified.
It uses GHC event manager timeouts when available
(GHC 7.2+, -threaded, non-Windows OS), yielding performance similar
to threadDelay and registerDelay. Otherwise, it falls back to
forked threads and threadDelay.
- 0.1.1.2 (2025-05-08)
Remove a call to ensureIOManagerIsRunning, for consistency with System.Timeout
Adjust timings in the testsuite to fix intermittent failure in the non-threaded RTS case.
- 0.1.1 (2014-09-14)
Add tryWaitDelayIO, improve performance for certain cases of
newDelayandupdateDelay, and improve example.