Retries
au.id.tmm.fetch.retries.Retries$
object Retries
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Retries.type
Members list
Concise view
Type members
Classlikes
final case class EffectTimedOutException(debugMessage: String, lastFailure: Option[Throwable]) extends RuntimeException
object Result
Value members
Concrete methods
Using the given RetryPolicy, waits for the given effect to reach a terminal state.
Using the given RetryPolicy, waits for the given effect to reach a terminal state.
Attributes
- effect
an effect to be retried. Uncaught errors will be treated as though a
Result.Continuewas returned- policy
a policy that describes how the task will be retried
- Returns:
an
IOvalue representing the successful terminal state of the task, or any returnedResult.Failederror, or anEffectTimedOutExceptionif the task timed out according to theRetryPolicy.