Package-level declarations
Types
Link copied to clipboard
Represents a block to be retried, taking an integer parameter (the retry count) and returning a value of type T.
Link copied to clipboard
open class RetryPolicy(retryPredicate: RetryPredicate = onException, delayStrategy: DelayStrategy = noDelay)
Represents a retry policy that combines a RetryPredicate and a DelayStrategy.
Properties
Link copied to clipboard
Converts a DelayStrategy to a RetryPolicy with a RetryPredicate of onException
Converts a RetryPredicate to a RetryPolicy with a DelayStrategy of noDelay
Functions
Link copied to clipboard
Combines a DelayStrategy with a RetryPredicate to create a RetryPolicy.
Combines a RetryPredicate with a DelayStrategy to create a RetryPolicy.