ghc-stm-delay
Updatable one-shot timer polled with STM
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, yielding performance similar to threadDelay and registerDelay. Otherwise, it falls back to forked threads and threadDelay.
- Versions: 0.1.1.1
- Website: https://github.com/joeyadams/haskell-stm-delay
- Licenses: Modified BSD
- Package source: gnu/packages/haskell-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of ghc-stm-delay as follows:
guix install ghc-stm-delay
Or install a particular version:
guix install ghc-stm-delay@0.1.1.1
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.
Badge code
You can use the following badge to inform users of ghc-stm-delay about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/ghc-stm-delay'><img src='https://packages.guix.gnu.org/packages/ghc-stm-delay/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/ghc-stm-delay)
Example Org:
[[https://packages.guix.gnu.org/packages/ghc-stm-delay][https://packages.guix.gnu.org/packages/ghc-stm-delay/badges/latest-version.svg]]