From 0daf2cd7e39547bae4b34aa2eac12c17e2229ec9 Mon Sep 17 00:00:00 2001 From: Charles d'Avernas Date: Fri, 10 Jan 2025 11:35:56 +0100 Subject: [PATCH] Document the output of `fork` tasks in competing and non-competing scenarii Closes #1011 Signed-off-by: Charles d'Avernas --- dsl-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl-reference.md b/dsl-reference.md index ac9e1261..d4b91ed0 100644 --- a/dsl-reference.md +++ b/dsl-reference.md @@ -609,7 +609,7 @@ Allows workflows to execute multiple subtasks concurrently, enabling parallel pr | Name | Type | Required | Description| |:--|:---:|:---:|:---| | fork.branches | [`map[string, task][]`](#task) | `no` | The tasks to perform concurrently. | -| fork.compete | `boolean` | `no` | Indicates whether or not the concurrent [`tasks`](#task) are racing against each other, with a single possible winner, which sets the composite task's output. Defaults to `false`. | +| fork.compete | `boolean` | `no` | Indicates whether or not the concurrent [`tasks`](#task) are racing against each other, with a single possible winner, which sets the composite task's output.
*If set to `false`, the task returns an array that includes the outputs from each branch, preserving the order in which the branches are declared.*
*If to `true`, the task returns only the output of the winning branch.*
*Defaults to `false`.* | ##### Examples