cfork icon indicating copy to clipboard operation
cfork copied to clipboard

Example code not work in README

Open itlodge opened this issue 9 years ago • 0 comments

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
});

itlodge avatar Mar 23 '16 02:03 itlodge