MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / AddTransition

Method AddTransition

go/engine/node.go:28–28  ·  view source on GitHub ↗
(port string, tr Transition)

Source from the content-addressed store, hash-verified

26type Wirable interface {
27 ID() string
28 AddTransition(port string, tr Transition) error
29}
30
31// Trigger is the contract for nodes that produce events from

Callers 11

TestAgent_SetupFunction · 0.65
TestAgent_NextFunction · 0.65
TestFunctionCall_ExecuteFunction · 0.65
TestIf_ExecuteFunction · 0.65
TestSetVariable_ExecuteFunction · 0.65
TestOnSerialReceive_WaitFunction · 0.65
TestTicker_LifecycleFunction · 0.65
TestDelay_LifecycleFunction · 0.65
TestOnPinEdge_WaitFunction · 0.65
TestOnThreshold_WaitFunction · 0.65

Implementers 14

MockWirablego/engine/mocks_test.go
MockWirable_Expectergo/engine/mocks_test.go
MockTriggergo/engine/mocks_test.go
MockTrigger_Expectergo/engine/mocks_test.go
MockExecutablego/engine/mocks_test.go
MockExecutable_Expectergo/engine/mocks_test.go
MockEmittergo/engine/mocks_test.go
MockEmitter_Expectergo/engine/mocks_test.go
LinearNodego/engine/node.go
BranchingNodego/engine/node.go
ToolNodego/engine/node.go
TriggerNodego/engine/node.go

Calls

no outgoing calls

Tested by 11

TestAgent_SetupFunction · 0.52
TestAgent_NextFunction · 0.52
TestFunctionCall_ExecuteFunction · 0.52
TestIf_ExecuteFunction · 0.52
TestSetVariable_ExecuteFunction · 0.52
TestOnSerialReceive_WaitFunction · 0.52
TestTicker_LifecycleFunction · 0.52
TestDelay_LifecycleFunction · 0.52
TestOnPinEdge_WaitFunction · 0.52
TestOnThreshold_WaitFunction · 0.52