async _processRequests(requests, index, result) {
    index = index || 0;
    result = result || [];
    const item = requests[index];
    if (!item) {
      return result;
    }
    const request = await PayloadProcessor.payloadToString(item);
    /* eslint-disable-next-line require-atomic-updates */
    result[index] = request;
    index++;
    return await this._processRequests(requests, index, result);
  }
/**
   * Processes requests payloads and transforms them to string if needed.
   *
   * @param {Array<Object>} requests List of ARC requests
   * @param {?Number} index Index of processed request
   * @param {?Array} result Result of processing.
   * @return {Promise} Promise resolved when all requests has been processed.
   * Resolved promise contains the copy of request objects.
   */
Processes requests payloads and transforms them to string if needed.
@param {Array} requests List of ARC requests
@param {?Number} index Index of processed request
@param {?Array} result Result of processing.
@return {Promise} Promise resolved when all requests has been processed.
Resolved promise contains the copy of request objects.
Processes requests payloads and transforms them to string if needed . @param { Array } requests List of ARC requests @param { ?Number } index Index of processed request @param { ?Array } result Result of processing . @return { Promise } Promise resolved when all requests has been processed . Resolved promise contains the copy of request objects .
async _processRequests(requests, index, result) {
    index = index || 0;
    result = result || [];
    const item = requests[index];
    if (!item) {
      return result;
    }
    const request = await PayloadProcessor.payloadToString(item);
    result[index] = request;
    index++;
    return await this._processRequests(requests, index, result);
  }
async _processRequests ( requests , index , result ) { index = index || 0 ; result = result || [ ] ; const item = requests [ index ] ; if ( ! item ) { return result ; } const request = await PayloadProcessor . payloadToString ( item ) ; result [ index ] = request ; index ++ ; return await this . _processRequests ( requests , index , result ) ; }
Processes requests payloads and transforms them to string if needed.
Processes requests payloads and transforms them to string if needed .
/* eslint-disable-next-line require-atomic-updates */