Computes the delay before each retry.
final Duration Function(int failureCount, Object error) retryDelay;