package states

Import Path
	github.com/pancsta/asyncmachine-go/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 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/WorkerStatesDef ErrProviding - Worker had issues providing the requested payload. ErrSendPayload - RPC server had issues sending the requested payload to the RPC client. SendPayload - Worker delivered the requested payload to the RPC server using rpc.Pass, rpc.A, and rpc.ArgsPayload. ( 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.