package states
Import Path
/examples/basic/states (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
states.go
Package-Level Type Names (only one)
StatesDef contains all the states of the state machine.
FileProcessed - file has been processed (async)
InProgress - processing is in progress (sync, auto)
ProcessingFile - file is being processed (async)
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.
( StatesDef) Names() machine.S
( StatesDef) SetNames(names machine.S)
( StatesDef) SetStateGroups(groups map[string][]int, order []string)
( StatesDef) StateGroups() (map[string][]int, []string)
StatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States
var States
Package-Level Variables (total 2)
Schema represents all relations and properties of States.
States contains all the states for the machine.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |