Executor

abstract class Executor extends ExecutorPlatformSpecific

An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

Current sampled execution metrics, if available.

Current sampled execution metrics, if available.

def submit(runnable: Runnable): Boolean

Submits an effect for execution.

Submits an effect for execution.

The number of operations a fiber should run before yielding.

The number of operations a fiber should run before yielding.

Concrete methods

final def submitOrThrow(runnable: Runnable): Unit

Submits an effect for execution or throws.

Submits an effect for execution or throws.

Concrete fields

Views this Executor as a Scala ExecutionContext.

Views this Executor as a Scala ExecutionContext.

lazy val asJava: Executor

Views this Executor as a Java Executor.

Views this Executor as a Java Executor.

Inherited fields

Views this Executor as a Scala ExecutionContextExecutorService.

Views this Executor as a Scala ExecutionContextExecutorService.

Inherited from:
ExecutorPlatformSpecific