Skip to main content

Workflow.parallel()

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

Usage example
Direct link to Usage example

workflow.parallel([step1, step2])

Parameters
Direct link to Parameters

steps:

Step[]
The step instances to execute in parallel

options?:

StepFlowEntryOptions
Optional identity and display metadata for this graph entry. Preserved through serialization and storage; has no effect on execution.
string
string
Record<string, unknown>

Returns
Direct link to Returns

workflow:

Workflow
The workflow instance for method chaining
On this page