Instantly share code, notes, and snippets.

Embed
What would you like to do?
Switching from cluster module to PM2 & RabbitMQ
process.on('message', function(data) {
sendSMS(data); // use twilio or something to send sms
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment