FutureSugar

org.scalactic.FutureSugar
See theFutureSugar companion trait
object FutureSugar extends FutureSugar

Companion object for FutureSugar enabling its members to be imported as an alternative to mixing them in.

Attributes

Companion
trait
Source
FutureSugar.scala
Graph
Supertypes
trait FutureSugar
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

implicit class Futureizer[T](theFuture: Future[T])

Implicit class that adds a validation method to Future, which takes one or more functions that validate the Future's value.

Implicit class that adds a validation method to Future, which takes one or more functions that validate the Future's value.

See the main documentation for trait `FutureSugar` for more detail and examples.

Value parameters

theFuture

the Future to which to add a validating method.

Attributes

Inherited from:
FutureSugar
Source
FutureSugar.scala
Supertypes
class Object
trait Matchable
class Any

Implicits

Inherited implicits

final implicit def Futureizer[T](theFuture: Future[T]): Futureizer[T]

Implicit class that adds a validation method to Future, which takes one or more functions that validate the Future's value.

Implicit class that adds a validation method to Future, which takes one or more functions that validate the Future's value.

See the main documentation for trait `FutureSugar` for more detail and examples.

Value parameters

theFuture

the Future to which to add a validating method.

Attributes

Inherited from:
FutureSugar
Source
FutureSugar.scala