Skip to content

Commit 21e0ece

Browse files
committed
Add a warning explaining that events consumed by an until clause should be excluded by a listen task's output, following @fjtirado's comment
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent 241ecee commit 21e0ece

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dsl-reference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,10 @@ Provides a mechanism for workflows to await and react to external events, enabli
661661
> [!NOTE]
662662
> When `foreach` is set, the configured operations for a [events](https://cloudevents.io/) must complete before moving on to the next one. As a result, consumed [events](https://cloudevents.io/) should be stored in a First-In-First-Out (FIFO) queue while awaiting iteration.
663663

664+
> [!WARNING]
665+
> [Events](https://cloudevents.io/) consumed by an `until` clause should not be included in the task's output. These [events](https://cloudevents.io/) are used solely to determine when the until condition has been met, and they do not contribute to the result or data produced by the task itself
666+
667+
664668
##### Examples
665669

666670
```yaml

0 commit comments

Comments
 (0)