MCPcopy 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

GetPlanModeStateMethod · 0.65
stateManagementExampleFunction · 0.65

Implementers 1

StateMachineImplpkg/workflow/state_machine.go

Calls

no outgoing calls

Tested by 2