in src/task/TaskBase.ts [82:87]
private propagate(executor?: TaskOrchestrationExecutor): void {
const hasCompleted = this.state !== TaskState.Running;
if (hasCompleted && this.parent !== undefined) {
this.parent.handleCompletion(this, executor);
}
}