ExponentialBackoffTaskBridgeRetryPolicy

A retry policy using exponential backoff with jitter.

Parameters

random

Random generator for jitter.

Constructors

Link copied to clipboard
constructor(random: Random = Random.Default)

Functions

Link copied to clipboard
open override fun nextDelayMs(attempt: Int): Long

Returns the delay in milliseconds for the given attempt number (0-based).