StateHolder

class StateHolder<S : Enum<S>>(initialState: S)

Holds the current state of a state machine execution. Mutable to allow state transitions during tool execution.

Constructors

Link copied to clipboard
constructor(initialState: S)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun transitionTo(newState: S)