object Scheduler extends SchedulerCompanionImpl with Serializable
- Alphabetic
- By Inheritance
- Scheduler
- Serializable
- SchedulerCompanionImpl
- SchedulerCompanion
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit final class Extensions extends AnyVal with ExecuteExtensions
Utilities complementing the
Schedulerinterface. - trait ImplicitsLike extends AnyRef
- Definition Classes
- SchedulerCompanion
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val BATCHING: Flag
The Scheduler supports processing in batches via an internal trampoline.
The Scheduler supports processing in batches via an internal trampoline.
Schedulers that implement the batching behavior will recognize monix.execution.schedulers.TrampolinedRunnable instances (via
instanceOfchecks) and make an effort to execute them on the current thread.This flag is exposed via Scheduler.features.
- See also
BatchingScheduler for an implementation.
- val TRACING: Flag
Flag signaling that the Scheduler implementation can transport Local variables over async boundaries.
Flag signaling that the Scheduler implementation can transport Local variables over async boundaries.
- See also
TracingScheduler and TracingSchedulerService for implementations.
- def apply(reporter: UncaughtExceptionReporter, execModel: ExecutionModel): Scheduler
- Definition Classes
- SchedulerCompanionImpl
- def apply(ec: ExecutionContext, reporter: UncaughtExceptionReporter): Scheduler
- Definition Classes
- SchedulerCompanionImpl
- def apply(context: ExecutionContext = StandardContext, executionModel: ExecutionModel = ExecModel.Default): Scheduler
Scheduler builder.
Scheduler builder.
- context
is the
scala.concurrent.ExecutionContextthat gets used for executingRunnablevalues and for reporting errors- executionModel
is the preferred ExecutionModel, a guideline for run-loops and producers of data.
- Definition Classes
- SchedulerCompanionImpl
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def global: Scheduler
The explicit global
Scheduler.The explicit global
Scheduler. Invokeglobalwhen you want to provide the globalSchedulerexplicitly.- Definition Classes
- SchedulerCompanionImpl → SchedulerCompanion
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def traced: Scheduler
A global Scheduler instance that does propagation of Local.Context on async execution.
A global Scheduler instance that does propagation of Local.Context on async execution.
It wraps global.
- Definition Classes
- SchedulerCompanionImpl → SchedulerCompanion
- def trampoline(underlying: Scheduler = Implicits.global, executionModel: ExecutionModel = ExecModel.Default): Scheduler
Builds a TrampolineScheduler.
Builds a TrampolineScheduler.
- underlying
is the Scheduler to which the we defer to in case asynchronous or time-delayed execution is needed
- Definition Classes
- SchedulerCompanionImpl
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Implicits extends schedulers.SchedulerCompanionImpl.ImplicitsLike
- Definition Classes
- SchedulerCompanionImpl → SchedulerCompanion