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

Method SetLineCallback

pkg/utilds/readerlinebuffer.go:37–41  ·  view source on GitHub ↗
(callback func(string))

Source from the content-addressed store, hash-verified

35}
36
37func (rlb *ReaderLineBuffer) SetLineCallback(callback func(string)) {
38 rlb.lock.Lock()
39 defer rlb.lock.Unlock()
40 rlb.lineCallback = callback
41}
42
43func (rlb *ReaderLineBuffer) IsDone() bool {
44 rlb.lock.Lock()

Callers 4

StartMethod · 0.45
runBuilderAppMethod · 0.45
runTsunamiAppBinaryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected