RetryerConfig

external interface RetryerConfig<TData, TError>(source)

Properties

Link copied to clipboard
abstract val abort: () -> Unit?
Link copied to clipboard
abstract val canRun: () -> Boolean
Link copied to clipboard
abstract val fn: () -> PromiseResult<TData>
Link copied to clipboard
abstract val initialPromise: Promise<TData>?
Link copied to clipboard
abstract val networkMode: NetworkMode?
Link copied to clipboard
abstract val onContinue: () -> Unit?
Link copied to clipboard
abstract val onError: (error: TError) -> Unit?
Link copied to clipboard
abstract val onFail: (failureCount: Int, error: TError) -> Unit?
Link copied to clipboard
abstract val onPause: () -> Unit?
Link copied to clipboard
abstract val onSuccess: (data: TData) -> Unit?
Link copied to clipboard
abstract val retry: RetryValue<TError>?
Link copied to clipboard