Package-level declarations
Types
Link copied to clipboard
class AndroidConnectivityRetryGate(context: Context, requireValidatedInternet: Boolean = true) : TransportRetryGate
An implementation of TransportRetryGate that suspends until active internet connection is available.
Link copied to clipboard
Default implementation of TaskBridgeFailureClassifier.
Link copied to clipboard
class ExponentialBackoffTaskBridgeRetryPolicy(random: Random = Random.Default) : TaskBridgeRetryPolicy
A retry policy using exponential backoff with jitter.
Link copied to clipboard
A default implementation of TransportRetryGate that allows retries immediately.
Link copied to clipboard
class TaskBridgeAuthException(message: String = "Tokens expired or invalid, re-authorization required", cause: Throwable? = null) : RuntimeException
Exception thrown when the transport layer fails to authenticate the request, even after attempting to refresh the token.
Link copied to clipboard
Strategy for determining if a failure should trigger a retry attempt.
Link copied to clipboard
Exception thrown when an HTTP request fails with a non-2xx status code.
Link copied to clipboard
Policy for calculating the delay before the next retry attempt.
Link copied to clipboard
interface TransportRetryGate
Strategy for suspending retry attempts until an external condition is met.