engine/DataSession.js
/**
		 * Adds a new {@link DataOperation} and returns the current instance.
		 *
		 * @public
		 * @param {@DataOperation} operation
		 * @returns {DataSession}
		 */
Adds a new  DataOperation and returns the current instance.
@public
@param  operation
@returns {DataSession}
Adds a new DataOperation and returns the current instance . @public @param operation @returns { DataSession }
withOperation(operation) {
			assert.argumentIsRequired(operation, 'operation', DataOperation, 'DataOperation');
			if (this._flushed) {
				throw new Error('Unable to add operation to session, it has been flushed.');
			}
			enqueue.call(this, new DataOperationContainer(operation, operation.stage, operation.adjustment));
			return this;
		}
withOperation ( operation ) { assert . argumentIsRequired ( operation , 'operation' , DataOperation , 'DataOperation' ) ; if ( this . _flushed ) { throw new Error ( 'Unable to add operation to session, it has been flushed.' ) ; } enqueue . call ( this , new DataOperationContainer ( operation , operation . stage , operation . adjustment ) ) ; return this ; }
Adds a new {@link DataOperation} and returns the current instance.
Adds a new { @link DataOperation } and returns the current instance .