org.scalatest.enablers.Retrying
See theRetrying companion object
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.
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
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
Attributes
-
Returns
-
the value returned from the passed in fun
.