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

Method GetAckState

pkg/streamclient/streamwriter.go:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (w *Writer) GetAckState() (maxAckedSeq int64, finAcked bool, canceled bool) {
100 w.lock.Lock()
101 defer w.lock.Unlock()
102
103 return w.maxAckedSeq, w.finAcked, w.canceled
104}
105
106func (w *Writer) GetCanceledChan() <-chan struct{} {
107 return w.canceledChan

Callers 2

TestCancelFunction · 0.95
TestBrokerCancelFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestCancelFunction · 0.76
TestBrokerCancelFunction · 0.64