Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/parse-community/parse-server
/ beforeOp
Method
beforeOp
src/KeyPromiseQueue.js:22–30 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
20
}
21
22
beforeOp(key) {
23
let
tuple = this.queue[key];
24
if
(!tuple) {
25
tuple = [0, Promise.resolve()];
26
this.queue[key] = tuple;
27
}
28
tuple[0]++;
29
return
tuple;
30
}
31
32
afterOp(key) {
33
const
tuple = this.queue[key];
Callers
1
enqueue
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected