MCPcopy Index your code
hub / github.com/parse-community/parse-server / pushCompleted

Function pushCompleted

spec/PushController.spec.js:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30const pushCompleted = async pushId => {
31 const query = new Parse.Query('_PushStatus');
32 query.equalTo('objectId', pushId);
33 let result = await query.first({ useMasterKey: true });
34 while (!(result && result.get('status') === 'succeeded')) {
35 await jasmine.timeout();
36 result = await query.first({ useMasterKey: true });
37 }
38};
39
40const sendPush = (body, where, config, auth, now) => {
41 const pushController = new PushController();

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected