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

Function successfulAny

spec/Parse.Push.spec.js:15–24  ·  view source on GitHub ↗
(body, installations)

Source from the content-addressed store, hash-verified

13};
14
15const successfulAny = function (body, installations) {
16 const promises = installations.map(device => {
17 return Promise.resolve({
18 transmitted: true,
19 device: device,
20 });
21 });
22
23 return Promise.all(promises);
24};
25
26const provideInstallations = function (num) {
27 if (!num) {

Callers 1

Parse.Push.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected