ExecutionContextTaskSupport
scala.collection.parallel.ExecutionContextTaskSupport
class ExecutionContextTaskSupport(val environment: ExecutionContext) extends TaskSupport, ExecutionContextTasks
A task support that uses an execution context to schedule tasks.
It can be used with the default execution context implementation in the scala.concurrent
package. It internally forwards the call to either a forkjoin based task support or a thread pool executor one, depending on what the execution context uses.
By default, parallel collections are parameterized with this task support object, so parallel collections share the same execution context backend as the rest of the scala.concurrent
package.
Attributes
- See also
-
scala.collection.parallel.TaskSupport for more information.
- Graph
-
- Supertypes
Members list
In this article