MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / SendData

Method SendData

pkg/streamclient/streambroker.go:115–117  ·  view source on GitHub ↗
(dataPk wshrpc.CommandStreamData)

Source from the content-addressed store, hash-verified

113}
114
115func (b *Broker) SendData(dataPk wshrpc.CommandStreamData) {
116 b.sendQueue.Enqueue(workItem{workType: "senddata", dataPk: dataPk})
117}
118
119// RecvData and RecvAck are designed to be non-blocking and must remain so to prevent deadlock.
120// They only enqueue work items to be processed asynchronously by the work queue's goroutine.

Callers

nothing calls this directly

Calls 1

EnqueueMethod · 0.80

Tested by

no test coverage detected