engine/DataOperation.js
/**
		 * Processes the current instance and returns an array of additional
		 * {@link DataOperation} instances arising from the execution of the
		 * current instance.
		 *
		 * @public
		 * @param {DataProvider} dataProvider
		 * @param {String} session
		 * @param {String|null} name
		 * @returns {Promise}
		 */
Processes the current instance and returns an array of additional
DataOperation instances arising from the execution of the
current instance.


Processes the current instance and returns an array of additional DataOperation instances arising from the execution of the current instance .
process(dataProvider, session, name) {
			return Promise.resolve()
				.then(() => {
					this._validateDataProvider(dataProvider);
					if (this._processing || this._processed) {
						throw new Error('Unable to process DataOperation, the operation is already processing.');
					}
					this._processing = true;
					this._children = [ ];
					return Promise.resolve()
						.then(() => {
							return this._process(dataProvider, session, name);
						}).then((result) => {
							this._processing = false;
							this._processed = true;
							const children = this._children;
							return new DataOperationResult(this, result, children);
						});
				});
		}
process ( dataProvider , session , name ) { return Promise . resolve ( ) . then ( ( ) => { this . _validateDataProvider ( dataProvider ) ; if ( this . _processing || this . _processed ) { throw new Error ( 'Unable to process DataOperation, the operation is already processing.' ) ; } this . _processing = true ; this . _children = [ ] ; return Promise . resolve ( ) . then ( ( ) => { return this . _process ( dataProvider , session , name ) ; } ) . then ( ( result ) => { this . _processing = false ; this . _processed = true ; const children = this . _children ; return new DataOperationResult ( this , result , children ) ; } ) ; } ) ; }
Processes the current instance and returns an array of additional
 {@link DataOperation} instances arising from the execution of the
 current instance.
Processes the current instance and returns an array of additional { @link DataOperation } instances arising from the execution of the current instance .