swfsm
swfsm copied to clipboard
Entry decisions
Add optional FSMState.EntryDecisions MultiDecisionFunc
func that fires anytime a state is being entered. this allows simplifying workflows where many states transition to a given state, and would have startActivity boilerplate.
Also, make FSMContext eventCorrelator public and add a util decider func.