createExponentialBackoffPolicy(options?: CreateExponentialBackoffPolicyOptions): RetryPolicy
Creates an exponential backoff retry policy. The delay between retries
starts at the initialDelay
and is multiplied by the factor
for each
subsequent retry, up to the maxDelay
. The policy will give up after
maxAttempts
attempts. The actual delay is randomized to avoid
synchronization (jitter).
optional
options: CreateExponentialBackoffPolicyOptions
The options for the policy.
The retry policy.