---
id: flow--wait-plugin
title: "Wait"
summary: "Delays each record by a fixed number of milliseconds, then passes it on unchanged. Use it for simple pauses between steps or crude rate limiting."
audience: user
keywords: "input, output, waittimems"
---
# Wait

Delays each record by a fixed number of milliseconds, then passes it on unchanged. Use it for simple pauses between steps or crude rate limiting.

## Pins

| Pin | Kind | Types | Description |
|---|---|---|---|
| Input | input | any | Record to delay. |
| Output | output | same as input | The same record and metadata after the wait. |

## Configuration

| Field | Type | Default | Description |
|---|---|---|---|
| `WaitTimeMs` | integer | `1000` | Wait time in milliseconds (positive; intended maximum 86400000 = 24 h). |

## Behaviour

- Blocks the calling thread for `WaitTimeMs` (thread sleep), then calls `Output` synchronously.
- Each record waits independently; parallel records wait in parallel on their own threads.

## Notes

- The wait cannot be interrupted: stopping the flow does not end a running wait early (the record is not passed on if the flow has stopped meanwhile).
- The blocked thread is not available for other work; avoid long waits for many parallel records. For periodic work use a Timer, for retries the Retry component.
- The maximum is not enforced by the editor. `0` passes the record on immediately; negative values make the component fail.

## Example

```json
{ "WaitTimeMs": 500 }
```

Range → Http client → **Wait** (throttle requests)
