ipc-messenger.js
function(message) {
    var pack = {
      toMaster: true,
      toWorkers: false,
      toSource: false,
      message: message,
      source: process.pid
    }
    dispatch(pack)
  }
function(message) {
    var pack = {
      toMaster: true,
      toWorkers: false,
      toSource: false,
      message: message,
      source: process.pid
    }
    dispatch(pack)
  }
function ( message ) { var pack = { toMaster : true , toWorkers : false , toSource : false , message : message , source : process . pid } dispatch ( pack ) }
This function can be used by workers to send a message to the master
This function can be used by workers to send a message to the master