Class: Task

Member Of Namespace: clbAutomator

Description

Instantiate a task given the given config. The task can then be run using the run() instance method.

Function: run

Launch the task.

run(context)
Arguments:
  • context (object) – current context will be merged into the default one.
Return Promise:

promise to return the result of the task

Function: runSubtasks

Run all subtasks of the this tasks.

runSubtasks(context)
Arguments:
  • context (object) – the current context
Return Array:

all the results in an array