Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
26
type
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_BuildResponseFormat
Function · 0.65
TestAgent_Setup
Function · 0.65
TestAgent_Next
Function · 0.65
TestFunctionCall_Execute
Function · 0.65
TestIf_Execute
Function · 0.65
TestSetVariable_Execute
Function · 0.65
TestOnSerialReceive_Wait
Function · 0.65
TestTicker_Lifecycle
Function · 0.65
TestDelay_Lifecycle
Function · 0.65
TestOnPinEdge_Wait
Function · 0.65
TestOnThreshold_Wait
Function · 0.65
Implementers
14
MockWirable
go/engine/mocks_test.go
MockWirable_Expecter
go/engine/mocks_test.go
MockTrigger
go/engine/mocks_test.go
MockTrigger_Expecter
go/engine/mocks_test.go
MockExecutable
go/engine/mocks_test.go
MockExecutable_Expecter
go/engine/mocks_test.go
MockEmitter
go/engine/mocks_test.go
MockEmitter_Expecter
go/engine/mocks_test.go
LinearNode
go/engine/node.go
BranchingNode
go/engine/node.go
ToolNode
go/engine/node.go
TriggerNode
go/engine/node.go
Calls
no outgoing calls
Tested by
11
TestAgent_BuildResponseFormat
Function · 0.52
TestAgent_Setup
Function · 0.52
TestAgent_Next
Function · 0.52
TestFunctionCall_Execute
Function · 0.52
TestIf_Execute
Function · 0.52
TestSetVariable_Execute
Function · 0.52
TestOnSerialReceive_Wait
Function · 0.52
TestTicker_Lifecycle
Function · 0.52
TestDelay_Lifecycle
Function · 0.52
TestOnPinEdge_Wait
Function · 0.52
TestOnThreshold_Wait
Function · 0.52