MCPcopy Create free account
hub / github.com/parse-community/parse-server / afterOp

Method afterOp

src/KeyPromiseQueue.js:32–42  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

30 }
31
32 afterOp(key) {
33 const tuple = this.queue[key];
34 if (!tuple) {
35 return;
36 }
37 tuple[0]--;
38 if (tuple[0] <= 0) {
39 delete this.queue[key];
40 return;
41 }
42 }
43}

Callers 1

enqueueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected