Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ GetState
Method
GetState
pkg/workflow/state_machine.go:17–17 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
15
AddState(name string, handlers ...StateHandler) error
16
AddTransition(from, to string, condition TransitionCondition) error
17
GetState(name string) (State, error)
18
GetCurrentState() string
19
20
// 状态转移
Callers
4
TestPostgresService_AppendEvent
Function · 0.65
TestMySQLService_AppendEvent
Function · 0.65
GetPlanModeState
Method · 0.65
stateManagementExample
Function · 0.65
Implementers
1
StateMachineImpl
pkg/workflow/state_machine.go
Calls
no outgoing calls
Tested by
2
TestPostgresService_AppendEvent
Function · 0.52
TestMySQLService_AppendEvent
Function · 0.52