Closed Fjandin closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
radash-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 12, 2023 9:08am |
@Fjandin thanks for the PR 🙏 It's possible I'm missing something but isn't executing the functions in order make it the opposite of executing them in parallel? Could you just not use the parallel function?
On second look at the PR I see, they're still parallel but in order... still a bit confused tho. I'm curious, what's your use case?
@sodiray Sorry for the late reply. Some time since, so don't remember the details, but had a weird case where i needed the tasks to be picked out in order. However now that I look at it again, I can see i could just as well just reverse the array of tasks :P And yeah, the fact that I guess the order shouldn't really matter in parallel execution. I'm just gonna close it. I can see this is a unnecessary complexion to add. Have a nice day :)
Description
Adds an extra optional option to the
parallel
method{executeInOrder?: boolean}
executeInOrder: true
will make the parallel method pick from the array in orderExample
Checklist
package.json
has been bumped (matching semver)yarn build
command has been run and to update thecdn
directory/docs
directory) has been updated