Supertrait for Retrying
typeclasses, which are used to implement and determine the behavior
of Eventually
methods.
Currently, implementations for anything type T
and Future[T]
is provided.
- Companion:
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
Retry the passed in function until the given timeout is reached, with the given interval between attempts.
Retry the passed in function until the given timeout is reached, with the given interval between attempts.
- Value parameters:
- fun
function to be called
- interval
interval between call attempts
- pos
the position of the call site
- timeout
the timespan to try before giving up
- Returns:
the value returned from the passed in
fun
.