state
Configures a specific state in the state machine.
Parameters
state Class
The class of the state to configure
configuration
The configuration block for the state
Configures a specific state using reified generics.
Parameters
configuration
The configuration block for the state