An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Abstract methods
Current sampled execution metrics, if available.
Current sampled execution metrics, if available.
Attributes
Concrete methods
Submits an effect for execution and signals that the current fiber is ready to yield.
Submits an effect for execution and signals that the current fiber is ready to yield.
'''NOTE''': The implementation of this method in the ZScheduler will attempt to run the runnable on the current thread if the current worker's queues are empty. This leads to improved performance as we avoid unnecessary parking/un-parking of threads.
Attributes
Submits an effect for execution and signals that the current fiber is ready to yield or throws.
Submits an effect for execution and signals that the current fiber is ready to yield or throws.
Attributes
- See also
-
submitAndYield for an explanation of the implementation in ZScheduler.
Submits an effect for execution or throws.
Submits an effect for execution or throws.
Attributes
Concrete fields
Views this Executor
as a Scala ExecutionContext
.
Views this Executor
as a Scala ExecutionContext
.
Attributes
Views this Executor
as a Java Executor
.
Views this Executor
as a Java Executor
.
Attributes
Inherited fields
Views this Executor
as a Scala ExecutionContextExecutorService
.
Views this Executor
as a Scala ExecutionContextExecutorService
.
Attributes
- Inherited from:
- ExecutorPlatformSpecific (hidden)