- By Inheritance
- Hide All
- Show All
RetryPolicy = (Request, Either[Throwable, Response], Int) ⇒ Option[FiniteDuration]
A retry policy is a function of the request, the result (either a throwable or a response), and the number of unsuccessful attempts and returns either None (no retry) or Some duration, after which the request will be retried.