Async State Machine Instance
Constructors
Link copied to clipboard
constructor(context: C, definition: AsyncStateMachineDefinition<S, E, C, A, R>, initialExternalState: ExternalState<S>, coroutineScope: CoroutineScope)
Create a state machine using a specific definition and a previous externalised state.
constructor(context: C, definition: AsyncStateMachineDefinition<S, E, C, A, R>, coroutineScope: CoroutineScope, initialState: S? = null, initialExternalState: ExternalState<S>? = null)