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 3)
/* 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 inherit from rpc/NetSourceStatesDef ErrOnClient indicates an error added on the Network Machine. ErrProviding - NetMach had issues providing the requested payload. ErrSendPayload - RPC server had issues sending the requested payload to the RPC client. SendPayload - Net Source has delivered the requested payload to the RPC server (not the Consumer) using rpc.Pass, rpc.A, and rpc.MsgSrvPayload. 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. ( 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.
Package-Level Variables (total 7)
ExampleGroups contains all the state groups for the Example machine.
ExampleSchema represents all relations and properties of ExampleStates.
ExampleStates contains all the states for the Example machine.
SAdd is a func alias for merging lists of states.
SchemaMerge is a func alias for extending an existing state structure.
StateAdd is a func alias for adding to an existing state definition.
StateSet is a func alias for replacing parts of an existing state definition.