TaskCollection<C extends WorkflowContext<WorkflowResult> > constructor
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);