BSD-3-Clause licensed by Joey Adams
Maintained by [email protected]
This version can be pinned in stack with:stm-delay-0.1.1.1@sha256:7e0c22a7b969a02e47b299293eba5e2ec142b2d09a62c0762b5977fcc0ad06cc,2343

Module documentation for 0.1.1.1

Depends on 2 packages(full list with versions):
Used by 2 packages in lts-21.25(full list with versions):

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
Add tryWaitDelayIO, improve performance for certain cases of newDelay and updateDelay, and improve example.