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

Method Outputs

go/engine/node/serialread.go:69–74  ·  view source on GitHub ↗

Outputs declares the single "output" slot — a string line. Returns it only if the binding is emit-mode (assign/discard don't materialize a variable).

()

Source from the content-addressed store, hash-verified

67// Outputs declares the single "output" slot — a string line. Returns it only
68// if the binding is emit-mode (assign/discard don't materialize a variable).
69func (r *SerialRead) Outputs() map[string]workflowapi.DataType {
70 return engine.FilterEmitted(
71 map[string]workflowapi.DataType{serialReadOutID: workflowapi.String},
72 map[string]workflowapi.OutputBinding{serialReadOutID: r.binding},
73 )
74}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected