_processRestoredPayload(state) {
    if (!state || !state.requests || !state.requests.length) {
      return;
    }
    for (let i = 0, len = state.requests.length; i < len; i++) {
      if (state.requests[i].multipart) {
        try {
          state.requeststs[i].payload = PayloadProcessor.restoreMultipart(
            state.requests[i].multipart);
          delete state.requests[i].multipart;
        } catch (_) {
          // ...
        }
      } else if (state.requests[i].blob) {
        try {
          state.requeststs[i].payload = PayloadProcessor._dataURLtoBlob(
            state.requests[i].blob);
          delete state.requests[i].blob;
        } catch (_) {
          // ...
        }
      }
    }
  }
/**
   * When restoring data it processes requests payload data.
   * @param {Object} state
   */
When restoring data it processes requests payload data.
@param {Object} state
When restoring data it processes requests payload data . @param { Object } state
_processRestoredPayload(state) {
    if (!state || !state.requests || !state.requests.length) {
      return;
    }
    for (let i = 0, len = state.requests.length; i < len; i++) {
      if (state.requests[i].multipart) {
        try {
          state.requeststs[i].payload = PayloadProcessor.restoreMultipart(
            state.requests[i].multipart);
          delete state.requests[i].multipart;
        } catch (_) {
        }
      } else if (state.requests[i].blob) {
        try {
          state.requeststs[i].payload = PayloadProcessor._dataURLtoBlob(
            state.requests[i].blob);
          delete state.requests[i].blob;
        } catch (_) {
        }
      }
    }
  }
_processRestoredPayload ( state ) { if ( ! state || ! state . requests || ! state . requests . length ) { return ; } for ( let i = 0 , len = state . requests . length ; i < len ; i ++ ) { if ( state . requests [ i ] . multipart ) { try { state . requeststs [ i ] . payload = PayloadProcessor . restoreMultipart ( state . requests [ i ] . multipart ) ; delete state . requests [ i ] . multipart ; } catch ( _ ) { } } else if ( state . requests [ i ] . blob ) { try { state . requeststs [ i ] . payload = PayloadProcessor . _dataURLtoBlob ( state . requests [ i ] . blob ) ; delete state . requests [ i ] . blob ; } catch ( _ ) { } } } }
When restoring data it processes requests payload data.
When restoring data it processes requests payload data .
// ... // ...