Packages

object Executor extends ExecutorPlatform

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Executor
  2. ExecutorPlatform
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Cancelable extends AnyRef

Value Members

  1. def defer(body: => Unit): Unit
    Definition Classes
    ExecutorPlatform
  2. implicit def executionContext: ExecutionContext

    Default execution-context used for scheduling and spawning functions.

    Default execution-context used for scheduling and spawning functions. It uses the scheduledExecutorService.

    Definition Classes
    ExecutorPlatform
  3. def isJS: Boolean
    Definition Classes
    ExecutorPlatform
  4. def isJVM: Boolean
    Definition Classes
    ExecutorPlatform
  5. def isShutdown: Boolean
    Definition Classes
    ExecutorPlatform
  6. def schedule(time: Long, unit: TimeUnit)(body: => Unit): Unit
    Definition Classes
    ExecutorPlatform
  7. def scheduleWithCancel(time: Long, unit: TimeUnit)(body: => Unit): Cancelable
    Definition Classes
    ExecutorPlatform
  8. def timeOut[A](f: Future[A], time: Long, unit: TimeUnit): Future[A]

    If the future f completes within the given time, succeeds, otherwise completes with a scala.concurrent.TimeoutException.