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

Struct SerialWrite

go/engine/node/serialwrite.go:25–29  ·  view source on GitHub ↗

SerialWrite evaluates a value expression and writes the resulting string to a text channel — a UART (raw serial bytes) or a Log (a logger line). No terminator is appended — the caller's expression is responsible for any newline / framing.

Source from the content-addressed store, hash-verified

23
24// SerialWrite evaluates a value expression and writes the resulting string
25// to a text channel — a UART (raw serial bytes) or a Log (a logger line).
26// No terminator is appended — the caller's expression is responsible for any
27// newline / framing.
28//
29// value is nil when the node is wired as a tool: the model supplies the text
30// per call instead of the workflow author supplying an expression.
31type SerialWrite struct {
32 engine.LinearNode

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected