Tasks

trait Tasks

A trait that declares task execution capabilities used by parallel collections.

A trait that declares task execution capabilities used by parallel collections.

class Object
trait Matchable
class Any

Type members

Classlikes

trait WrappedTask[R, +Tp]

Value members

Abstract methods

def execute[R, Tp](fjtask: Task[R, Tp]): () => R

Executes a task and returns a future. Forwards an exception if some task threw it.

Executes a task and returns a future. Forwards an exception if some task threw it.

def executeAndWaitResult[R, Tp](task: Task[R, Tp]): R

Executes a result task, waits for it to finish, then returns its result. Forwards an exception if some task threw it.

Executes a result task, waits for it to finish, then returns its result. Forwards an exception if some task threw it.

Retrieves the parallelism level of the task execution environment.

Retrieves the parallelism level of the task execution environment.

Abstract fields

val environment: AnyRef

The type of the environment is more specific in the implementations.

The type of the environment is more specific in the implementations.