FiniteStateMachine

constructor(initialState: S, stateFunctions: Map<KClass<out S>, Map<KClass<out E>, StateFunction<S, E>>>, defaultEventHandler: (S, E) -> S)

Parameters

initialState

The initial state.