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