DelayProvider

interface DelayProvider

An object that can be used to delay between iterations of code.

Inheritors

Types

Link copied to clipboard
interface Config

Configuration for a delay provider

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun backoff(attempt: Int)

Delays for an appropriate amount of time after the given attempt number.