SuspendAutomaton

Properties

Link copied to clipboard
abstract val state: State

Functions

Link copied to clipboard
abstract suspend fun acceptNewState(previousState: State, transition: Transition, nextState: State)
Link copied to clipboard
abstract suspend fun checkTransition(previousState: State, transition: Transition): CheckResult<State, NoNextStateReason>