Class StateOrchestratingComputation<C, S, E>Abstract
StateOrchestratingComputation abstracts the Orchestrating State Computation algorithm by using a decider of type IDecider<C, S,E> and saga of type ISaga<E, C> to handle commands based on the current state, and produce new state.
If the decider is combined out of many deciders via combine function, a saga could be used to react on new events and send new commands to the decider recursively, in single transaction.
StateOrchestratingComputation
abstracts theOrchestrating State Computation
algorithm by using adecider
of typeIDecider
<C
,S,
E
> andsaga
of typeISaga
<E
,C
> to handle commands based on the current state, and produce new state. If thedecider
is combined out of many deciders viacombine
function, asaga
could be used to react on new events and send new commands to thedecider
recursively, in single transaction.