res = (status, data) => {
    // Return only the necessary info to avoid sending unnecessarily large messages
    const packetRes = {
      jobId: packet.jobId,
      workerId: packet.workerId,
      action: packet.action,
    };
    send({
      ...packetRes,
      status,
      data,
    });
  }
dispatchHandlers

@name dispatchHandlers
@function worker data handler
@access public
@param {object} data
@param {string} data.jobId - unique job id
@param {string} data.action - action of the job, only recognize and detect for now
@param {object} data.payload - data for the job
@param {function} send - trigger job to work