blocks/bla/bla.js
function (methodName, params, execOptions) {
                execOptions = execOptions || {};

                var options = {
                    enableBatching: execOptions.hasOwnProperty('enableBatching') ?
                        execOptions.enableBatching :
                        this._options.enableBatching,
                    timeout: execOptions.timeout || this._options.timeout
                };

                return options.enableBatching ?
                    this._execWithBatching(methodName, params, options) :
                    this._execWithoutBatching(methodName, params, options);
            }
function (methodName, params, execOptions) {
                execOptions = execOptions || {};

                var options = {
                    enableBatching: execOptions.hasOwnProperty('enableBatching') ?
                        execOptions.enableBatching :
                        this._options.enableBatching,
                    timeout: execOptions.timeout || this._options.timeout
                };

                return options.enableBatching ?
                    this._execWithBatching(methodName, params, options) :
                    this._execWithoutBatching(methodName, params, options);
            }
function ( methodName , params , execOptions ) { execOptions = execOptions || { } ; var options = { enableBatching : execOptions . hasOwnProperty ( 'enableBatching' ) ? execOptions . enableBatching : this . _options . enableBatching , timeout : execOptions . timeout || this . _options . timeout } ; return options . enableBatching ? this . _execWithBatching ( methodName , params , options ) : this . _execWithoutBatching ( methodName , params , options ) ; }
Executes api by path with specified parameters.

@param {String} methodName Method name.
@param {Object} params Data should be sent to the method.
@param {Object} [execOptions] Exec-specific options.
@param {Boolean} [execOptions.enableBatching=true] Should the current call of the method be batched.
method be batched.
@param {Number} [execOptions.timeout=0] Request timeout.
@returns {vow.Promise}
Executes api by path with specified parameters .