RetryHelper

external class RetryHelper(source)

Constructors

Link copied to clipboard
constructor(maxAttempts: Number, minSeconds: Number, maxSeconds: Number)

Functions

Link copied to clipboard
fun <T> execute(action: () -> Promise<T>, isRetryable: (JsError) -> Boolean = definedExternally): Promise<T>