@hackage monad-schedule1.6
A new, simple, composable concurrency abstraction.
Categories
License
MIT
Maintainer
programming@manuelbaerenz.de
Links
Versions
Installation
Dependencies (7)
- base >=4.16.0 && <4.22
- base-compat >=0.13 && <0.15
- free >=5.1 && <5.3
- operational ^>=0.2.4
- stm ^>=2.5
- time-domain ^>=1.6 Show all…
Dependents (3)
@hackage/rhine-gloss, @hackage/rhine-terminal, @hackage/rhine
Package Flags
dev
(off by default)
Enable warnings as errors. Active on ci.
A monad m is said to allow scheduling if you can pass a number of actions m a to it,
and those can be executed at the same time concurrently.
You can observe the result of the actions after some time:
Some actions will complete first, and the results of these are returned then as a list .
Other actions are still running, and for these you will receive continuations of type NonEmpty am a,
which you can further run or schedule to completion as you like.