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

Method SetDataTarget

cmd/test-streammanager/deliverypipe.go:68–72  ·  view source on GitHub ↗
(fn func(wshrpc.CommandStreamData))

Source from the content-addressed store, hash-verified

66}
67
68func (dp *DeliveryPipe) SetDataTarget(fn func(wshrpc.CommandStreamData)) {
69 dp.lock.Lock()
70 defer dp.lock.Unlock()
71 dp.dataTarget = fn
72}
73
74func (dp *DeliveryPipe) SetAckTarget(fn func(wshrpc.CommandStreamAckData)) {
75 dp.lock.Lock()

Callers 1

runTestFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected