ExecutionContextTasks

This tasks implementation uses execution contexts to spawn a parallel computation.

This tasks implementation uses execution contexts to spawn a parallel computation.

As an optimization, it internally checks whether the execution context is the standard implementation based on fork/join pools, and if it is, creates a ForkJoinTaskSupport that shares the same pool to forward its request to it.

Otherwise, it uses an execution context exclusive Tasks implementation to divide the tasks into smaller chunks and execute operations on it.

trait Tasks
class Object
trait Matchable
class Any

Type members

Inherited classlikes

trait WrappedTask[R, +Tp]
Inherited from
Tasks

Value members

Concrete methods

def execute[R, Tp](task: Task[R, Tp]): () => R
def executeAndWaitResult[R, Tp](task: Task[R, Tp]): R
def executionContext: ExecutionContext

Abstract fields

val environment: ExecutionContext