onRetry abstract method

void onRetry(
  1. int attempt,
  2. int maxAttempts,
  3. Duration backoff,
  4. Object error,
)

Called when a pass retries on a transient error.

Implementation

void onRetry(int attempt, int maxAttempts, Duration backoff, Object error);