Futuristic

org.scalatest.enablers.Futuristic
See theFuturistic companion trait
object Futuristic

Companion object for trait Futuristic that contains implicit Futuristic providers for FutureOutcome and Future[T] for any type T.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Futuristic.type

Members list

Implicits

Implicits

implicit def futuristicNatureOfFutureOf[V](implicit executionContext: ExecutionContext): Futuristic[Future[V]]

Provides a Futuristic value for Future[V] for any type V that performs cleanup using the implicitly provided execution context.

Provides a Futuristic value for Future[V] for any type V that performs cleanup using the implicitly provided execution context.

Value parameters

executionContext

an execution context that provides a strategy for executing the cleanup function

Attributes

Returns

a Futuristic instance for Future[V]

implicit def futuristicNatureOfFutureOutcome(implicit executionContext: ExecutionContext): Futuristic[FutureOutcome]

Provides a Futuristic value for FutureOutcome that performs cleanup using the implicitly provided execution context.

Provides a Futuristic value for FutureOutcome that performs cleanup using the implicitly provided execution context.

Value parameters

executionContext

an execution context that provides a strategy for executing the cleanup function

Attributes

Returns

a Futuristic instance for FutureOutcome