object ExecutorScheduler extends Serializable
- Source
- ExecutorScheduler.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExecutorScheduler
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
apply(service: ExecutorService, reporter: UncaughtExceptionReporter, executionModel: execution.ExecutionModel): ExecutorScheduler
Builder for an ExecutorScheduler, converting a Java
ScheduledExecutorService.Builder for an ExecutorScheduler, converting a Java
ScheduledExecutorService.- service
is the Java
ScheduledExecutorServicethat will take care of scheduling and execution of all runnables.- reporter
is the UncaughtExceptionReporter that logs uncaught exceptions.
- executionModel
is the preferred ExecutionModel, a guideline for run-loops and producers of data.
-
def
forkJoinDynamic(name: String, parallelism: Int, maxThreads: Int, daemonic: Boolean, reporter: UncaughtExceptionReporter, executionModel: execution.ExecutionModel): ExecutorScheduler
Creates an ExecutorScheduler backed by a
ForkJoinPoolintegrated with Scala'sBlockContext. -
def
forkJoinStatic(name: String, parallelism: Int, daemonic: Boolean, reporter: UncaughtExceptionReporter, executionModel: execution.ExecutionModel): ExecutorScheduler
Creates an ExecutorScheduler backed by a
ForkJoinPoolthat isn't integrated with Scala'sBlockContext.

This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomictypes, as alternative tojava.util.concurrent.atomicmonix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observablepattern:Observableimplementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types.