performFetch method

  1. @protected
Future<T> performFetch()

Perform the actual fetch with retry logic. Intended to be overridden by subclasses like ZenInfiniteQuery.

Implementation

@protected
Future<T> performFetch() async {
  // Cancel previous pending request if any
  _cancelPendingRequest();

  _retryAttempt = 0;
  return _fetchWithRetry();
}