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

Method unregisterResponseHandler

pkg/wshutil/wshrpc.go:260–264  ·  view source on GitHub ↗
(reqId string)

Source from the content-addressed store, hash-verified

258}
259
260func (w *WshRpc) unregisterResponseHandler(reqId string) {
261 w.Lock.Lock()
262 defer w.Lock.Unlock()
263 delete(w.ResponseHandlerMap, reqId)
264}
265
266func (w *WshRpc) cancelRequest(reqId string) {
267 if reqId == "" {

Callers 1

FinalizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected