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.
the timespan to try before giving up
interval between call attempts
the position of the call site
function to be called
the value returned from the passed in fun
.
Supertrait for
Retrying
typeclasses, which are used to implement and determine the behavior ofEventually
methods.Currently, implementations for anything type
T
andFuture[T]
is provided.