retryWithStatus

abstract suspend fun retryWithStatus(status: Request.Status = Request.Status.FAILED, action: suspend () -> Unit): Boolean

Retries all request types for a given status.

Return

True if any request is retried, false otherwise.

Parameters

status

Status for request to retry

action

Action to run when status is satisfied