Detects whether the Node.js Event Loop has choked and what caused it to choke.
$ npm i node-chokeconst choke = require('node-choke');
choke((info) => {
console.log(`Event Loop has choked for ${info.dt}ns, stack trace:`, info.stack);
});| Name | Name | Last commit date | ||
|---|---|---|---|---|