Testing
object Testing
Methods for testing purpose
Functions
Link copied to clipboard
Allows to target multiple states (they must be parallel state sub-children). Implemented by targetParallelStates
Starts machine from particular state
suspend fun StateMachine.startFrom(state1: IState, state2: IState, vararg states: IState, argument: Any? = null)
Vararg overload for targeting multiple states
Link copied to clipboard
fun StateMachine.startFromBlocking(state1: IState, state2: IState, vararg states: IState, argument: Any? = null)