Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
TheatreDev.Perpetual
Description
Exploration of perpetual actors. I.e., those that exist for the whole duration of the app.
This limitation provides for simpler API and most apps are expected not to need more.
Documentation
Actor, which processes the messages of type msg
.
Provides abstraction over the communication channel and threads.
Instances
Contravariant Actor Source # | Maps the input message to a different type. |
Decidable Actor Source # | Provides a choice between alternative actors to process the message. |
Divisible Actor Source # | Splits the message between actors. |
Monoid (Actor msg) Source # | Provides an identity for merging the actors, which does nothing. |
Semigroup (Actor msg) Source # | Distributes the message across the merged actors. |