Serialize execution of work, ensuring that no passed work is executed in parallel.
Tasks are executed sequentially, in the order they are offered. Each task has a
happens-before relationship with subsequent tasks, meaning mutations performed
in a task are observed by all sequent tasks.
Linear Supertypes
ExecutionContext, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
SerialExecutionContext
ExecutionContext
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newSerialExecutionContext(parent: ExecutionContext, maxIterationsBeforeReschedule: Int = ...)
parent
ExecutionContext with which to perform the work, which may consist
of many tasks queued in the SerialExecutionContext.
maxIterationsBeforeReschedule
Maximum number of tasks to execute before
rescheduling work in the parent.
Serialize execution of work, ensuring that no passed work is executed in parallel.
Tasks are executed sequentially, in the order they are offered. Each task has a happens-before relationship with subsequent tasks, meaning mutations performed in a task are observed by all sequent tasks.