code: function () {
      var self = this;
  
      this.io.on('job.cancel', function (id) {
        debug('io cancel', id, self.id);
  
        if (self.id.toString() === id.toString()) {
          self.cancel();
        }
      });
    }
docs: private api