lib/orderQueue.js
function (id, objId) {
    if (this.queue[id]) {
      _.remove(this.queue[id], function (o) {
        return o.id === objId;
      });
    }

    if (objId && this.retries[id] && this.retries[id][objId]) {
      this.retries[id][objId] = 0;
    }
  }
function (id, objId) {
    if (this.queue[id]) {
      _.remove(this.queue[id], function (o) {
        return o.id === objId;
      });
    }

    if (objId && this.retries[id] && this.retries[id][objId]) {
      this.retries[id][objId] = 0;
    }
  }
function ( id , objId ) { if ( this . queue [ id ] ) { _ . remove ( this . queue [ id ] , function ( o ) { return o . id === objId ; } ) ; } if ( objId && this . retries [ id ] && this . retries [ id ] [ objId ] ) { this . retries [ id ] [ objId ] = 0 ; } }
Removes an event from the queue.
@param {String} id    The aggregate id.
@param {String} objId The event id.
Removes an event from the queue .