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

Function proc

spec/ParseQuery.spec.js:3808–3819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3806 const promises = [];
3807 for (let i = 0; i < 2; i++) {
3808 const proc = iter => {
3809 const child = new Parse.Object('Child');
3810 children.push(child);
3811 const parent = new Parse.Object('Parent');
3812 parents.push(parent);
3813 promises.push(
3814 child.save().then(() => {
3815 parents[iter].set('child', [children[iter]]);
3816 return parents[iter].save();
3817 })
3818 );
3819 };
3820 proc(i);
3821 }
3822 Promise.all(promises)

Callers 1

ParseQuery.spec.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…