You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I send a 1000 push different notification to a different users at the same time efficiently? For the same message I guess I can use the publish topic but if are different?
The text was updated successfully, but these errors were encountered:
You can use the topic features of SNS, or do something like this:
functiondoSend(user,next){// Assume user is a user entry from a db// Assume sns is a valid sns instance created earliersns.sendMessage(user.endpointArn,'Hi There!',next);}functiondone(err){console.log('finsihed sending to all users');}async.each(userList,doSend,done);
@santimacia, since this does not appear to be an issue with the module I'll close this. Feel free to reopen if you think otherwise.
How can I send a 1000 push different notification to a different users at the same time efficiently? For the same message I guess I can use the publish topic but if are different?
The text was updated successfully, but these errors were encountered: