Eventually

org.encalmo.lambda.Eventually
object Eventually

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Eventually.type

Members list

Type members

Classlikes

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class EventuallyPatienceExhausted(message: String) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Patience

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Patience.type
trait Patience

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def eventually[T](test: => T)(using patience: Patience): T

Try given assertions block until succeeds or patience exhausts. Return the result or fail.

Try given assertions block until succeeds or patience exhausts. Return the result or fail.

Attributes

def keepPolling(): Nothing
def maybe[T](test: => T)(using patience: Patience): Option[T]

Try given assertions block until succeeds or patience exhausts. Optionally return the result.

Try given assertions block until succeeds or patience exhausts. Optionally return the result.

Attributes

inline def withPatience[T](patience: Patience)(body: Patience ?=> T): T

Givens

Givens