package states

Import Path
	/examples/repl/states (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 0 packages

Involved Source Files ss_example.go states_utils.go
Package-Level Type Names (total 4)
/* sort by: | */
ExampleGroupsDef contains all the state groups Example state machine. Mutex states.S var ExampleGroups
ExampleStatesDef contains all the states of the Example state machine. Bar string Baz string Foo string StatesBase *am.StatesBase Exception is the only built-in state and mean a global error. All errors have to [State.Require] the Exception state. If [Machine.PanicToErr] is true, Exception will receive it. inherit from rpc/StateSourceStatesDef ErrOnClient indicates an error added on the Network Machine. ( ExampleStatesDef) Names() machine.S ( ExampleStatesDef) SetNames(names machine.S) ( ExampleStatesDef) SetStateGroups(groups map[string][]int, order []string) ( ExampleStatesDef) StateGroups() (map[string][]int, []string) ExampleStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States var ExampleStates
S is a type alias for a list of state names.
State is a type alias for a state definition. See [am.State].
Package-Level Variables (total 6)
ExampleGroups contains all the state groups for the Example machine.
ExampleSchema represents all relations and properties of ExampleStates. inherit from rpc/WorkerSchema
ExampleStates contains all the states for the Example machine.
Exception is a type alias for the Exception state.
Ready is a type alias for the Ready state.
Start is a type alias for the Start state.