Is the For task supposed to be always parallel or sequential? #1133
-
|
In the pre v1.x specification there was the |
Beta Was this translation helpful? Give feedback.
Answered by
ricardozanini
Dec 4, 2025
Replies: 1 comment 4 replies
-
|
The tasks are supposed to run sequentially, not in parallel. To run in parallel, you can do: document:
dsl: '1.0.2'
namespace: test
name: for-example
version: '0.1.0'
do:
- checkup:
for:
each: pet
in: .pets
at: index
while: .vet != null
do:
- brachTask:
fork:
branches:
- task1:
- task2:Inside your for loop, you do a fork. Simply! |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
rojkov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tasks are supposed to run sequentially, not in parallel.
To run in parallel, you can do:
Inside your for loop, you do a fork. Simply!