cfork
cfork copied to clipboard
Example code not work in README
How can this code work? Is it a typo?
// if you do not listen to this event
// cfork will listen it and output the error message to stderr
process.on('uncaughtException', function (err) {
// do what you want
});
// emit when reach refork times limit
.on('reachReforkLimit', function () {
// do what you want
});