lib/gearmanode/worker.js
function (data) {
        data = data || '';
        var jobServer = this.clientOrWorker._getJobServerByUid(this.jobServerUid);
        Worker.logger.log('debug', 'work data, handle=%s, data=%s', this.handle, data.toString());
        jobServer.send(protocol.encodePacket(protocol.PACKET_TYPES.WORK_DATA, [this.handle, data]));
    }
function (data) {
        data = data || '';
        var jobServer = this.clientOrWorker._getJobServerByUid(this.jobServerUid);
        Worker.logger.log('debug', 'work data, handle=%s, data=%s', this.handle, data.toString());
        jobServer.send(protocol.encodePacket(protocol.PACKET_TYPES.WORK_DATA, [this.handle, data]));
    }
function ( data ) { data = data || '' ; var jobServer = this . clientOrWorker . _getJobServerByUid ( this . jobServerUid ) ; Worker . logger . log ( 'debug' , 'work data, handle=%s, data=%s' , this . handle , data . toString ( ) ) ; jobServer . send ( protocol . encodePacket ( protocol . PACKET_TYPES . WORK_DATA , [ this . handle , data ] ) ) ; }
This is sent to update the client with data from a running job.
A worker should use this when it needs to send updates,
send partial results, or flush data during long running jobs.

@method
@memberof Job
@param {string|Buffer} data to be sent to client
@returns {void} nothing
This is sent to update the client with data from a running job . A worker should use this when it needs to send updates send partial results or flush data during long running jobs .