Companion

Factory for StmStateMachine.

Functions

Link copied to clipboard
suspend fun <S> create(initial: S): StmStateMachine<S>

Creates a new StmStateMachine with the given initial state.