Tries to perform a function f
until it succeeds or until maximum retries is reached.
Tries to perform a function f
until it succeeds or until maximum retries is reached.
the type of what the function returns
the number of retries, 10 by default
the duration to wait between attempts, 100 milliseconds by default
the function
a Try of the f
function result
Tries to perform a Future[T] until it succeeds or until maximum retries is reached.
Tries to perform a Future[T] until it succeeds or until maximum retries is reached.
the type of what the future completes with
the number of retries, 10 by default
the duration to wait between attempts, 100 milliseconds by default
the function that returns the Future[T]
the implicit execution context
the Future[T]
Tries to perform a function f
until it succeeds or until maximum retries is reached.
Tries to perform a function f
until it succeeds or until maximum retries is reached.
the type of what the future completes with
the number of retries, 10 by default
the milliseconds to wait between attempts, 100 milliseconds by default
the function
the implicit execution context
the resulting f
function
(Since version 2017/10/31) This will be removed in a future version. Please use retryFuture()
instead
Utility object with retry mechanisms.