RetryPolicy

au.id.tmm.fetch.retries.RetryPolicy
See theRetryPolicy companion object
sealed trait RetryPolicy[S]

Describes a policy for retries

Attributes

S

a type representing the state of the retry policy. Every time the effect is retried, the policy updates the state. It is then recursively passed through the policy as it operates.

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def timeout: Duration

Concrete methods

def retry[A](effect: IO[Result[A]]): IO[A]