Workflow.parallel()
The .parallel() method executes multiple steps in parallel.
Usage exampleUsage example的直接链接
workflow.parallel([step1, step2])
ParametersParameters的直接链接
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>
ReturnsReturns的直接链接
workflow:
Workflow
The workflow instance for method chaining