MCPcopy Index your code
hub / github.com/dataease/SQLBot / removePromisedPatch

Method removePromisedPatch

frontend/public/swagger-ui-bundle.js:41315–41320  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

41313 const o = Wo.applyPatch(this.state, s, { allowMetaPatches: this.allowMetaPatches })
41314 o && (this.mutations.push(s), (this.state = o))
41315 }
41316 removePromisedPatch(s) {
41317 const o = this.promisedPatches.indexOf(s)
41318 o < 0
41319 ? this.debug("Tried to remove a promisedPatch that isn't there!")
41320 : this.promisedPatches.splice(o, 1)
41321 }
41322 promisedPatchThen(s) {
41323 return (

Callers 1

promisedPatchThenMethod · 0.95

Calls 1

debugMethod · 0.95

Tested by

no test coverage detected