Skip to content

Commit 0daf2cd

Browse files
committed
Document the output of fork tasks in competing and non-competing scenarii
Closes #1011 Signed-off-by: Charles d'Avernas <[email protected]>
1 parent 08af9e2 commit 0daf2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsl-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ Allows workflows to execute multiple subtasks concurrently, enabling parallel pr
609609
| Name | Type | Required | Description|
610610
|:--|:---:|:---:|:---|
611611
| fork.branches | [`map[string, task][]`](#task) | `no` | The tasks to perform concurrently. |
612-
| 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`. |
612+
| 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.<br>*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.*<br>*If to `true`, the task returns only the output of the winning branch.*<br>*Defaults to `false`.* |
613613

614614
##### Examples
615615

0 commit comments

Comments
 (0)