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

Method Setup

go/engine/node/trigger/delay.go:31–34  ·  view source on GitHub ↗
(_ context.Context)

Source from the content-addressed store, hash-verified

29 armed chan struct{} // Execute → Wait handoff, buffered(1): remembers one pending arm
30}
31
32func NewDelay(id string, d time.Duration) *Delay {
33 return &Delay{
34 TriggerNode: engine.NewTriggerNode(id),
35 duration: d,
36 armed: make(chan struct{}, 1),
37 }

Callers 1

TestDelay_LifecycleFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestDelay_LifecycleFunction · 0.76