Task

scala.collection.parallel.Task
trait Task[R, +Tp]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Accessor[R, Tp]
trait Transformer[R, Tp]
class Copy[U, That]
trait ParSeqLikeTransformer[R, Tp]
trait ParSeqLikeAccessor[R, Tp]
class ParArrayMap[S]
class ScanToArray[U]
class Size
Show all

Members list

Type members

Types

type Result = R

Value members

Abstract methods

def leaf(result: Option[R]): Unit

Body of the task - non-divisible unit of work done by this task. Optionally is provided with the result from the previous completed task or None if there was no previous task (or the previous task is uncompleted or unknown).

Body of the task - non-divisible unit of work done by this task. Optionally is provided with the result from the previous completed task or None if there was no previous task (or the previous task is uncompleted or unknown).

Attributes

Decides whether or not this task should be split further.

Decides whether or not this task should be split further.

Attributes

Concrete methods

def repr: Tp

Abstract fields

var result: R

A result that can be accessed once the task is completed.

A result that can be accessed once the task is completed.

Attributes

Concrete fields