# PipelineStep.requiredBy

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Defined on: [PipelineStep](/reference/api/typescript/aspire.hosting/pipelinestep.md)
- Version: `13.4.0`
- Kind: `method`

Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.

## Definition

```typescript
interface PipelineStep {
  // ... omitted for brevity
  requiredBy(stepName: string): void;
}
```

## Signature

```typescript
requiredBy(stepName: string): void
```

## Parameters

- `stepName` (`string`)

## Defined on

- [PipelineStep](/reference/api/typescript/aspire.hosting/pipelinestep.md) -- `handle`
