docs: general fixes and improvements (#7918)

* docs improvements and changes

* updated module definition

* modules + dml changes

* fix build

* fix vale error

* fix lint errors

* fixes to stripe docs

* fix condition

* fix condition

* fix module defintion

* fix checkout

* disable UI action

* change oas preview action

* flatten provider module options

* fix lint errors

* add module link docs

* pr comments fixes

* fix vale error

* change node engine version

* links -> linkable

* add note about database name

* small fixes

* link fixes

* fix response code in api reference

* added migrations step
This commit is contained in:
Shahed Nasser
2024-07-04 17:26:03 +03:00
committed by GitHub
parent 32982e708a
commit 964927b597
149 changed files with 1676 additions and 3008 deletions
@@ -8,9 +8,9 @@ In this chapter, youll learn how to run workflow steps in parallel.
## parallelize Utility Function
If your workflow has steps that dont rely on one anothers results, you can run them in parallel. The workflow will wait until all specified steps are finished before continuing with the rest of its implementation.
If your workflow has steps that dont rely on one anothers results, run them in parallel using the `parallelize` utility function imported from the `@medusajs/workflows-sdk`.
The `parallelize` utility function imported from the `@medusajs/workflows-sdk` package allows you to run the steps in parallel.
The workflow waits until all steps passed to the `parallelize` function finish executing before continuing with the rest of its implementation.
For example:
@@ -55,4 +55,4 @@ const myWorkflow = createWorkflow<
The `parallelize` function accepts the steps to run in parallel as a parameter.
It returns an array of each steps result. The results are ordered in the result array by the order they're passed in the function's parameter.
It returns an array of the steps' results. The results are ordered based on the `parallelize` parameters' order.