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

Function NewSerialWrite

go/engine/node/serialwrite.go:32–38  ·  view source on GitHub ↗

NewSerialWrite builds a SerialWrite bound to the given text channel.

(id string, value workflow.Expression, dst channel.TextWriter)

Source from the content-addressed store, hash-verified

30// per call instead of the workflow author supplying an expression.
31type SerialWrite struct {
32 engine.LinearNode
33 value *workflowapi.Expression
34 toolDescription string
35 dst channel.TextWriter
36}
37
38// NewSerialWrite builds a SerialWrite bound to the given text channel.
39func NewSerialWrite(id string, value *workflowapi.Expression, toolDescription string, dst channel.TextWriter) *SerialWrite {
40 return &SerialWrite{
41 LinearNode: engine.NewLinearNode(id),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected