ipc-messenger.js
function(process, callback) {
    if (callback !== undefined && typeof callback === 'function') {
      CALLBACK = callback
    }
    if (cluster.isMaster) {
      process.on('message', masterHandler)
    }
    else {
      process.on('message', workerHandler)
    }
  }
function(process, callback) {
    if (callback !== undefined && typeof callback === 'function') {
      CALLBACK = callback
    }
    if (cluster.isMaster) {
      process.on('message', masterHandler)
    }
    else {
      process.on('message', workerHandler)
    }
  }
function ( process , callback ) { if ( callback !== undefined && typeof callback === 'function' ) { CALLBACK = callback } if ( cluster . isMaster ) { process . on ( 'message' , masterHandler ) } else { process . on ( 'message' , workerHandler ) } }
Used to register processes and custom callback functions
Used to register processes and custom callback functions