# Workflow.parallel()
[EN] Source: https://mastra.ai/reference/workflows/workflow-methods/parallel

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

## Usage example

```typescript copy
workflow.parallel([step1, step2]);
```

## Parameters

<PropertiesTable
  content={[
    {
      name: "steps",
      type: "Step[]",
      description: "The step instances to execute in parallel",
      isOptional: false,
    },
  ]}
/>

## Returns

<PropertiesTable
  content={[
    {
      name: "workflow",
      type: "Workflow",
      description: "The workflow instance for method chaining",
    },
  ]}
/>

## Related

- [Simultaneous steps with parallel](/docs/workflows/control-flow#simultaneous-steps-with-parallel)


---
title: "Reference: Workflow.sendEvent() | Workflows"
description: Documentation for the `Workflow.sendEvent()` method in workflows, which resumes execution when an event is sent.
---