immortal-worker: Create worker threads that logs exceptions and restarts.
The package provides means for common pattern in web development in Haskell. When you need a thread that makes some task in a loop with sleeping between iterations you don't wan't it to die from some occasional exception.
So, the package contains:
Helper to create non-dying labeled threads with logging of occured exceptions. Only synchronous exceptions are considered as safe for restoring from. Delay is added between respawns of worker.
Isolation helpers for subactions that should not interfere with each other.
[Skip to Readme]
|Dependencies||base (>=4.7 && <4.15), deepseq (==1.4.*), immortal (==0.3.*), monad-logger (==0.3.*), safe-exceptions (==0.1.*), text (==1.2.*), unliftio-core (==0.1.*) [details]|
|Copyright||2020 Anton Gushcha|
|Maintainer||Anton Gushcha <firstname.lastname@example.org>|
|Uploaded||by NCrashed at 2020-10-04T00:29:34Z|
|Downloads||30 total (30 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees