micro_utils.dokka
0.15.1

# FSMBuilder

fun <T : State> FSMBuilder(statesManager: StatesManager<T> = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), fsmBuilder: (statesManager: StatesManager<T>, states: List<CheckableHandlerHolder<T, T>>) -> StatesMachine<T> = { statesManager, states -> StatesMachine( statesManager, states ) }, defaultStateHandler: StatesHandler<T, T>? = StatesHandler { null })