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

Method tryWakeWriter

pkg/jobmanager/cirbuf.go:182–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180}
181
182func (cb *CirBuf) tryWakeWriter() {
183 if waiterCh, ok := tryReadCh(cb.waiterChan); ok {
184 close(*waiterCh)
185 }
186}

Callers 2

SetEffectiveWindowMethod · 0.95
ConsumeMethod · 0.95

Calls 1

tryReadChFunction · 0.85

Tested by

no test coverage detected