Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSM ¶
type FSM[Args any] struct { // contains filtered or unexported fields }
func (*FSM[Args]) SetCurrentState ¶
type State ¶
type State[Args any] struct { // contains filtered or unexported fields }
func (*State[Args]) AddTransition ¶
type Transition ¶
type Transition[Args any] struct { // contains filtered or unexported fields }
func (*Transition[Args]) Handle ¶
func (t *Transition[Args]) Handle(args Args) *State[Args]
Click to show internal directories.
Click to hide internal directories.