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