threads-supervisor alternatives and similar packages
Based on the "threads" category.
Alternatively, view threads-supervisor alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of threads-supervisor or a related project?
README
Threads Supervisor
Simple, IO-based, forkIO-friendly threads supervision library.
Changelog
1.2.0.0 (Breaking changes, sorry!)
- Remove
SupervisorSpec
- Rename
monitor
tomonitorWith
- Remove
1.1.0.0
- (Breaking Change) Support lts-5.1 and retry-0.7 (https://github.com/adinapoli/threads-supervisor/pull/9)
1.0.4.1
- Export QueueLike (https://github.com/adinapoli/threads-supervisor/pull/8)
1.0.4.0
- Split up modules into
Types
,Bounded
andSupervisor
- The
Bounded
module offers aSupervisorSpec
variant which writesSupervisionEvent
into aTBQueue
- The
Supervisor
module offers aSupervisorSpec
variant which writesSupervisionEvent
into aTQueue
. Programmers are expected to read from theeventStream
queue to avoid space leaks.
- Split up modules into
1.0.3.0
- Added restart throttling using
RetryPolicy
from the retry package.
- Added restart throttling using
Example
Start from Control.concurrent.Supervisor.Tutorial
. Other example can be found inside examples
.
Installation
cabal install threads-supervisor
or
stack install threads-supervisor
If you have downloaded the latest master from Github:
cabal install
or
stack install
Testing
cabal install --enable-tests
cabal test
or
stack test
Contributions
This library scratches my own itches, but please fork away! Pull requests are encouraged to implement the part of the API you need.
Contributors
- Alfredo Di Napoli (initial author)
- Sam Rijs (@srijs)