--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/de13e5ed-9679-4bea-911f-2285f301507f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi
I've figured out how to do this, however if I have groups I need to send notifications to users in that group bar the one who sent the message. However how do I manage the response in such a way that if one push notification fails the whole queue doesnt get rejected but just the queue for the user who it failed for.
var fanout_pushOptions = {
'specId': 'fanout_pushNotifications',
'numWorkers': 5,
};
var fanoutPushNotifications = new Queue(queueRef, fanout_pushOptions, function (data, progress, resolve, reject) {
data.membersToNotify.forEach(memberID => {
alertUtil.sendMessageNotification(data.groupName, data.senderName, data.message, memberID)
})
resolve()
}) --
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/900a2303-2d7b-4b6c-bd68-60ca4c0ce6e3%40googlegroups.com.