Skip to main content

Workflow.parallel()

.parallel() 方法可以并行执行多个步骤。

🌐 The .parallel() method executes multiple steps in parallel.

使用示例
Direct link to 使用示例

🌐 Usage example

workflow.parallel([step1, step2]);

参数
Direct link to 参数

🌐 Parameters

steps:

Step[]
The step instances to execute in parallel

返回
Direct link to 返回

🌐 Returns

workflow:

Workflow
The workflow instance for method chaining

🌐 Related