MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / recoverCmd

Method recoverCmd

cli/pkg/common/websocket.go:162–175  ·  view source on GitHub ↗
(v int)

Source from the content-addressed store, hash-verified

160}
161
162func (w *receiver) recoverCmd(v int) {
163 if len(w.receiver) == 0 {
164 w.cmdMtx.Lock()
165 w.curMaxCmd = 0
166 defer w.cmdMtx.Unlock()
167 return
168 }
169
170 if v == w.curMaxCmd {
171 w.cmdMtx.Lock()
172 w.curMaxCmd -= 1
173 defer w.cmdMtx.Unlock()
174 }
175}
176
177var clientManager = map[string]string{
178 "business": "",

Callers 1

SendAndReceiveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected