getDelay method

Duration getDelay(
  1. int attempt
)

The delay between retries (including the delay before the initial retry). Override this method to customize the delay.

Implementation

Duration getDelay(int attempt) {
  return delayFunc(attempt);
}