repeatUnsuccessfulQueries method

void repeatUnsuccessfulQueries()
inherited

Initiates a repeat of all failed loading attempts.

Implementation

void repeatUnsuccessfulQueries() {
  // Possible scenarios:
  // 1. Repeat only one unsuccessful key records loading request.
  //    In this case chunk records loading requirest must not be unsuccessful.
  // 2. Repeat all chunk records loading request.
  //    In this case key records loading request must be successful.

  _loadingDescribers.keys
      .where((describerKey) =>
          _loadingDescribers[describerKey]!.isOperationSuccessful == false)
      .forEach(repeatQuery);
}