Package-level declarations
Types
State container that handles events and transitions states accordingly.
Handler for a specific event within a state.
Convenience typealias for event handlers that ignore the event payload.
Configuration for a specific state in the state machine.
Marker interface for all state events.
Interface for handling state events and producing new states.
Thread-safe implementation of StateMachine with event-driven state transitions.
DSL builder for creating state machines with a fluent API.
Functions
Creates a StateEventHandler that always returns the same state regardless of the event.
Creates a StateEventHandler that transitions to a state based on the current state.
Creates a StateEventHandler that always transitions to a specific state.
Creates a StateEventHandler that transitions based on both state and event.