getRetryInterval method

Duration getRetryInterval(
  1. int retryCount
)

Implementation

Duration getRetryInterval(int retryCount) {
  // You could implement more sophisticated backoff strategies here
  return retryInterval;
}