Represents programs that are event driven state machines (a Mealy machine)
these programs can use input to decide on a state transition, and optionally emit a sequence of notifications for communication.
- Type parameters:
- A
output type
- E
internal event type
- Env
input type
- F
effect type
- N
notification type, a.k.a external event, integration event
- R
rejection type
- Companion:
- object
Value members
Concrete methods
sequences another edomaton without considering output for this one
sequences another edomaton without considering output for this one
alias for flatMap(_ => f)
creates a new edomaton that translates some input to what this edomaton can understand
creates a new edomaton that translates some input to what this edomaton can understand
evaluates an effect and uses its result as new output
evaluates an effect and uses its result as new output
evaluates an effect using output of this edomaton and uses result of evaluation as new output
evaluates an effect using output of this edomaton and uses result of evaluation as new output
translates this program in another language mapped by a natural transformation
translates this program in another language mapped by a natural transformation
Adds notification without considering decision state
Adds notification without considering decision state
publishes these notifications if this edomaton is rejected
publishes these notifications if this edomaton is rejected
If this edomaton is rejected, uses given function to decide what to publish
If this edomaton is rejected, uses given function to decide what to publish