lib/definitions/aggregate.js
function (committingEventTransformer) {
    if (!committingEventTransformer || !_.isObject(committingEventTransformer)) {
      var err = new Error('Please inject a valid committingEventTransformer object!');
      debug(err);
      throw err;
    }

    if (this.committingEventTransformers.indexOf(committingEventTransformer) < 0) {
      this.committingEventTransformers.push(committingEventTransformer);
    }
  }
function (committingEventTransformer) {
    if (!committingEventTransformer || !_.isObject(committingEventTransformer)) {
      var err = new Error('Please inject a valid committingEventTransformer object!');
      debug(err);
      throw err;
    }

    if (this.committingEventTransformers.indexOf(committingEventTransformer) < 0) {
      this.committingEventTransformers.push(committingEventTransformer);
    }
  }
function ( committingEventTransformer ) { if ( ! committingEventTransformer || ! _ . isObject ( committingEventTransformer ) ) { var err = new Error ( 'Please inject a valid committingEventTransformer object!' ) ; debug ( err ) ; throw err ; } if ( this . committingEventTransformers . indexOf ( committingEventTransformer ) < 0 ) { this . committingEventTransformers . push ( committingEventTransformer ) ; } }
Add committingEventTransformer module.
@param {CommittingEventTransformer} committingEventTransformer The committingEventTransformer module to be injected.
Add committingEventTransformer module .