nextDelay
Returns the delay in milliseconds before the next retry attempt.
Return
Delay in milliseconds. Returns 0 for RetryPolicy.None.
Parameters
retryCount
Zero-based index of the current retry attempt.
policy
The configured retry policy.