lib/backchannel.js
function (project, event, args) {
    if (this.waiting[project]) {
      return this.waiting[project].push([event, args]);
    }
    this.send(project, event, args);
    if (event === 'job.status.started') {
      Job.findById(args[0], function (err, job) {
        if (err) return debug('[backchannel][job.status.started] error getting job', args[0], err);
        if (!job) return debug('[backchannel][job.status.started] job not found', args[0]);
        job.started = args[1];
        job.save();
      });
    }
  }
function (project, event, args) {
    if (this.waiting[project]) {
      return this.waiting[project].push([event, args]);
    }
    this.send(project, event, args);
    if (event === 'job.status.started') {
      Job.findById(args[0], function (err, job) {
        if (err) return debug('[backchannel][job.status.started] error getting job', args[0], err);
        if (!job) return debug('[backchannel][job.status.started] job not found', args[0]);
        job.started = args[1];
        job.save();
      });
    }
  }
[project name, event name, [list of arguments]]