shouldRetry

abstract suspend fun shouldRetry(context: RetryContext): Boolean

Determines whether the request should be retried. This function may suspend.

Return

true if this request should be retried.

Parameters

context

the retry state for a given request.