StateToolRegistration

Registration for a tool in a specific state.

Functions

Link copied to clipboard

Tool stays in current state after execution (no transition).

Link copied to clipboard
fun inState(nextState: S): StateBuilder<S>

Switch to configuring a different state.

Link copied to clipboard
fun transitionsTo(targetState: S): StateBuilder<S>

Tool transitions to specified state after successful execution.

Link copied to clipboard

Add another tool in the same state.