MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / setServerDone

Method setServerDone

pkg/wshutil/wshrpc.go:817–823  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

815}
816
817func (w *WshRpc) setServerDone() {
818 w.Lock.Lock()
819 defer w.Lock.Unlock()
820 w.ServerDone = true
821 close(w.CtxDoneCh)
822 utilfn.DrainChannelSafe(w.InputCh, "wshrpc.setServerDone")
823}
824
825func (w *WshRpc) retrySendTimeout(resId string) {
826 done := func() bool {

Callers 1

runServerMethod · 0.95

Calls 1

DrainChannelSafeFunction · 0.92

Tested by

no test coverage detected