Transition

data class Transition(val onEventType: EventType, val fromState: State, val toState: State)

Represents a Transition in a StateMachine.

Parameters

onEventType

The EventType that triggers the Transition.

fromState

The State from which the Transition starts.

toState

The State to which the Transition leads.

Constructors

Link copied to clipboard
constructor(onEventType: EventType, fromState: State, toState: State)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard