Task

trait Task[R, +Tp]
class Object
trait Matchable
class Any
trait Accessor[R, Tp]
trait Transformer[R, Tp]
class Copy[U, That]
trait ParSeqLikeAccessor[R, Tp]
class ScanToArray[U]
class ParArrayMap[S]
class Size

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).

def shouldSplitFurther: Boolean

Decides whether or not this task should be split further.

Decides whether or not this task should be split further.

Concrete methods

def forwardThrowable(): Unit
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.

Concrete fields

@volatile
var throwable: Throwable