function dispatch() {
		// check if we are in an aggregate environment
		if (this.__aggregate__) {

			var ag = this.__aggregate__;

			var r = this.value();

			_.each(r, function(value, i) {
				_.each(this.__aggregate__, function(aggregate) {
					var b = aggregate.args[0]; 

					if (_.isArray(b))
						b = b[i];

					r[i] = aggregate.fn.call(this, r[i], b);
				}, this);
			}, this);
			this.__wrapped__ = r;
		}
		this.__aggregate__ = false;

		return this;
	}
/**
	 * Dispatch all methods chained in the pipeline in one big loop.
	 *
	 * @method   dispatch
	 *
	 * @memberOf stats
	 *
	 * @category chain
	 *
	 * @return   {StatsWrapper} Return the current pipeline with all aggregated method results.
	 */
Dispatch all methods chained in the pipeline in one big loop.
@method   dispatch

@memberOf stats

@category chain

@return   {StatsWrapper} Return the current pipeline with all aggregated method results.
Dispatch all methods chained in the pipeline in one big loop . @method dispatch @memberOf stats @category chain @return { StatsWrapper } Return the current pipeline with all aggregated method results .
function dispatch() {
		if (this.__aggregate__) {
			var ag = this.__aggregate__;
			var r = this.value();
			_.each(r, function(value, i) {
				_.each(this.__aggregate__, function(aggregate) {
					var b = aggregate.args[0]; 
					if (_.isArray(b))
						b = b[i];
					r[i] = aggregate.fn.call(this, r[i], b);
				}, this);
			}, this);
			this.__wrapped__ = r;
		}
		this.__aggregate__ = false;
		return this;
	}
function dispatch ( ) { if ( this . __aggregate__ ) { var ag = this . __aggregate__ ; var r = this . value ( ) ; _ . each ( r , function ( value , i ) { _ . each ( this . __aggregate__ , function ( aggregate ) { var b = aggregate . args [ 0 ] ; if ( _ . isArray ( b ) ) b = b [ i ] ; r [ i ] = aggregate . fn . call ( this , r [ i ] , b ) ; } , this ) ; } , this ) ; this . __wrapped__ = r ; } this . __aggregate__ = false ; return this ; }
Dispatch all methods chained in the pipeline in one big loop.
Dispatch all methods chained in the pipeline in one big loop .
// check if we are in an aggregate environment