ExecutorServices

org.specs2.concurrent.ExecutorServices
See theExecutorServices companion object
case class ExecutorServices(executionContextEval: () => ExecutionContext, schedulerEval: () => Scheduler)

Executor services for javascript

The global execution context is used for both executing tests and scheduling timeouts

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def schedule(action: => Unit, duration: FiniteDuration): Unit
def shutdownNow(): Unit
def shutdownOnComplete[A](future: Future[A]): ExecutorServices

convenience method to shutdown the services when the final future has completed

convenience method to shutdown the services when the final future has completed

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Givens

Givens

given executionContext: ExecutionContext