clusterPubSub.js
function workerIterator (callback) {
  Object.keys(cluster.workers).forEach((index) => callback(cluster.workers[index]))
}
function workerIterator (callback) {
  Object.keys(cluster.workers).forEach((index) => callback(cluster.workers[index]))
}
function workerIterator ( callback ) { Object . keys ( cluster . workers ) . forEach ( ( index ) => callback ( cluster . workers [ index ] ) ) }
Calls a callback by looping over cluster workers

@method worketIterator

@param  {Function} callback

@return {void}
Calls a callback by looping over cluster workers