state

abstract val state: State

The state the machine is currently in (before the next call to next advances it).