Popularity
7.4
Declining
Activity
0.0
Stable
37
3
3
Monthly Downloads: 42
Programming language: Haskell
License: MIT License
Tags:
Concurrency
Latest version: v0.3
immortal alternatives and similar packages
Based on the "Concurrency" category.
Alternatively, view immortal alternatives based on common mentions on social networks and blogs.
-
haxl
A Haskell library that simplifies access to remote data, such as databases or web-based services. -
unagi-chan
A haskell library implementing fast and scalable concurrent queues for x86, with a Chan-like API -
timers
Simple package that implements timers. Both "one-shot" and "repeating" timers are implemented.
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
Promo
www.influxdata.com
Do you think we are missing an alternative of immortal or a related project?
README
immortal
A small library to create threads that never die. This is useful e.g. for writing servers.
import qualified Control.Immortal as Immortal
import Control.Concurrent (threadDelay)
import Control.Monad (forever)
main = do
-- start an immortal thread
_thread <- Immortal.create $ \ _thread -> do
-- do stuff
-- in the main thread, sleep until interrupted
-- (e.g. with Ctrl-C)
forever $ threadDelay maxBound