lib/models/job.js
function(qName, id) {
    var q = queue.get(qName);
    return q.getJob(id).then(function(job) {
      return job.remove();
    });
  }
function(qName, id) {
    var q = queue.get(qName);
    return q.getJob(id).then(function(job) {
      return job.remove();
    });
  }
function ( qName , id ) { var q = queue . get ( qName ) ; return q . getJob ( id ) . then ( function ( job ) { return job . remove ( ) ; } ) ; }
Remove a job by id
@param {string} qName Queue name
@param {string} id Job id
@returns {Promise} A promise that resolves when the job is removed from queue
Remove a job by id