func (m *JobExecutor) NewTask(p plan.Task) Task { if p.IsParallel() { return NewTaskParallel(m.Ctx) } return NewTaskSequential(m.Ctx) }