How to use the launchBus function from pm2
Find comprehensive JavaScript pm2.launchBus code examples handpicked from public code repositorys.
GitHub: liuyukuai/pm2-notify
62 63 64 65 66 67 68 69 70 71
currentPmID = item.pm_id; } } } ); pm2.launchBus((err, bus) => { /** If a startup error occurs, an error is thrown directly */ if (err) throw err; const DingTalkSender = new DingTalk(conf);
0
0
1
+ 11 other calls in file
22 23 24 25 26 27 28 29 30 31
pm2.disconnect(); console.error(err); process.exit(2); } pm2.launchBus(function(err, bus) { if (err) { console.error(err); process.exit(2); }
0
0
0
pm2.restart is the most popular function in pm2 (219 examples)