ExecutorWithSleepThread

gears.async.native.ExecutorWithSleepThread
class ExecutorWithSleepThread(val exec: ExecutionContext) extends ExecutionContext, Scheduler

Spawns a single thread that does all the sleeping.

Attributes

Graph
Supertypes
trait Scheduler
trait ExecutionContext
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def execute(body: Runnable): Unit

Attributes

Definition Classes
Scheduler -> ExecutionContext
override def reportFailure(cause: Throwable): Unit

Attributes

Definition Classes
ExecutionContext
override def schedule(delay: FiniteDuration, body: Runnable): Cancellable

Attributes

Definition Classes

Deprecated and Inherited methods

def prepare(): ExecutionContext

Attributes

Deprecated
[Since version 2.12.0] preparation of ExecutionContexts will be removed
Inherited from:
ExecutionContext

Concrete fields

val exec: ExecutionContext
val sleeperThread: Thread