WrappedTask

trait WrappedTask[R, +Tp]
class Object
trait Matchable
class Any
trait AWSTWrappedTask[R, Tp]
class AWSFJTWrappedTask[R, Tp]
trait FJTWrappedTask[R, Tp]

Value members

Abstract methods

def compute(): Unit

Code that gets called after the task gets started - it may spawn other tasks instead of calling leaf.

Code that gets called after the task gets started - it may spawn other tasks instead of calling leaf.

def split: Seq[WrappedTask[R, Tp]]
def start(): Unit

Start task.

Start task.

def sync(): Unit

Wait for task to finish.

Wait for task to finish.

def tryCancel(): Boolean

Try to cancel the task.

Try to cancel the task.

Returns

true if cancellation is successful.

Concrete methods

def release(): Unit

If the task has been cancelled successfully, those syncing on it may automatically be notified, depending on the implementation. If they aren't, this release method should be called after processing the cancelled task.

If the task has been cancelled successfully, those syncing on it may automatically be notified, depending on the implementation. If they aren't, this release method should be called after processing the cancelled task.

This method may be overridden.

Abstract fields

val body: Task[R, Tp]

the body of this task - what it executes, how it gets split and how results are merged.

the body of this task - what it executes, how it gets split and how results are merged.