MCPcopy
hub / github.com/wavetermdev/waveterm / WriterBridge

Struct WriterBridge

cmd/test-streammanager/bridge.go:14–16  ·  view source on GitHub ↗

WriterBridge - used by the writer broker Sends data to the pipe, receives acks from the pipe

Source from the content-addressed store, hash-verified

12// WriterBridge - used by the writer broker
13// Sends data to the pipe, receives acks from the pipe
14type WriterBridge struct {
15 pipe *DeliveryPipe
16}
17
18func (b *WriterBridge) StreamDataCommand(data wshrpc.CommandStreamData, opts *wshrpc.RpcOpts) error {
19 b.pipe.EnqueueData(data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected