currentState

abstract val currentState: S

The current state of the state machine.

This property is thread-safe and always returns the most recent state.