createStdLibStateMachine

fun createStdLibStateMachine(name: String? = null, childMode: ChildMode = ChildMode.EXCLUSIVE, start: Boolean = true, creationArguments: CreationArguments = buildCreationArguments {}, init: suspend BuildingStateMachine.() -> Unit): StateMachine

Factory method for creating StateMachine. Suspendable code will be called via Kotlin Standard library (without Kotlin Coroutines library support).