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

Function successfulTransmissions

spec/PushController.spec.js:8–17  ·  view source on GitHub ↗
(body, installations)

Source from the content-addressed store, hash-verified

6const Utils = require('../lib/Utils');
7
8const successfulTransmissions = function (body, installations) {
9 const promises = installations.map(device => {
10 return Promise.resolve({
11 transmitted: true,
12 device: device,
13 });
14 });
15
16 return Promise.all(promises);
17};
18
19const successfulIOS = function (body, installations) {
20 const promises = installations.map(device => {

Callers 2

sendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected