TaskCollection<C extends WorkflowContext<WorkflowResult>> constructor

TaskCollection<C extends WorkflowContext<WorkflowResult>>(
  1. List<ITask<C>> tasks
)

Creates a simple collection of tasks for branching or parallel execution. The compiler will now prevent mixing tasks from different context types.

Implementation

TaskCollection(this.tasks);