State

interface State(source)

Represents a state in a finite state machine (FSM). Each state must have an associated context that identifies it uniquely within its chain.

Properties

Link copied to clipboard
abstract val context: Any

The context object that uniquely identifies this state within a state chain. States with the same context are considered to belong to the same chain.