Function: computeRetryDelay()
computeRetryDelay(
policy,attempt,failure?):RetryDecision
Whether attempt attempt (1-based, the attempt that just failed) is retried,
and after how long. failure.nextRetryDelayMs overrides the computed delay
for this retry only.
Parameters
policy
attempt
number