IDecider represents the main decision-making algorithm.
It has three generic parameters
E , representing the type of the values that
IDecider may contain or use.
IDecider can be specialized for any type
E because these types does not affect its behavior.
IDecider behaves the same for
YourCustomType, for example.
IDecider is a pure domain interface.
A function/lambda that takes command of type
C and input state of type
S as parameters, and returns/emits the list of output events
A function/lambda that takes input state of type
S and input event of type
E as parameters, and returns the output/new state
A starting point / An initial state of type
Иван Дугалић / Ivan Dugalic /
Generated using TypeDoc