lib/gearmanode/worker.js
function (packetType, packetData) {
        var jobServer = this.clientOrWorker._getJobServerByUid(this.jobServerUid);
        jobServer.send(protocol.encodePacket(packetType, packetData));
	
	if(!this.clientOrWorker.readyReset)// ensure the worker won't exit
	    jobServer.send(protocol.encodePacket(protocol.PACKET_TYPES.GRAB_JOB));
	
        this.close();
    }
function (packetType, packetData) {
        var jobServer = this.clientOrWorker._getJobServerByUid(this.jobServerUid);
        jobServer.send(protocol.encodePacket(packetType, packetData));
	
	if(!this.clientOrWorker.readyReset)// ensure the worker won't exit
	    jobServer.send(protocol.encodePacket(protocol.PACKET_TYPES.GRAB_JOB));
	
        this.close();
    }
function ( packetType , packetData ) { var jobServer = this . clientOrWorker . _getJobServerByUid ( this . jobServerUid ) ; jobServer . send ( protocol . encodePacket ( packetType , packetData ) ) ; if ( ! this . clientOrWorker . readyReset ) // ensure the worker won't exit jobServer . send ( protocol . encodePacket ( protocol . PACKET_TYPES . GRAB_JOB ) ) ; this . close ( ) ; }
Re-usable helper method to send data to client and close this job.

@method
@access private
Re - usable helper method to send data to client and close this job .