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

Method promisedPatchThen

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

Source from the content-addressed store, hash-verified

41319 ? this.debug("Tried to remove a promisedPatch that isn't there!")
41320 : this.promisedPatches.splice(o, 1)
41321 }
41322 promisedPatchThen(s) {
41323 return (
41324 (s.value = s.value
41325 .then((o) => {
41326 const i = { ...s, value: o }
41327 ;(this.removePromisedPatch(s), this.updatePatches(i))
41328 })
41329 .catch((o) => {
41330 ;(this.removePromisedPatch(s), this.updatePatches(o))
41331 })),
41332 s.value
41333 )
41334 }
41335 getMutations(s, o) {
41336 return (

Callers 1

updatePatchesMethod · 0.95

Calls 3

removePromisedPatchMethod · 0.95
updatePatchesMethod · 0.95
thenMethod · 0.45

Tested by

no test coverage detected