customDelayProvider

Configures the retry delay strategy to use a custom delay provider. In contrast to customDelay, this method enables caller control over the delay provider (which is the kotlinx.coroutines.delay by default) and optional additional state between retries. See RetryCtxDelayProvider for more information and examples of usage.

Parameters

delayProvider

the custom delay provider to use.

See also