# Delay

Delay Waits before passing a value to the next step. This occupies a running node/worker; it is not a durable schedule or delayed-message queue. Sockets and configuration - exec (control): optional execution gate. - value (any, optional): p

Canonical URL: https://opennodeflow.dev/wiki/reference-app-core-core-delay/
JSON reference: https://opennodeflow.dev/wiki/reference-app-core-core-delay/index.json
Source snapshot: 2026-10-23

# Delay

Waits before passing a value to the next step. This occupies a running node/worker; it is not a durable schedule or delayed-message queue.

## Sockets and configuration
- **exec** (control): optional execution gate.
- **value** (any, optional): payload to pass through.
- **value** (any): unchanged input after sleeping.
- **next** (control): automatic success route after the wait completes.
- **milliseconds** (number): fresh default 1000, schema minimum 0. The body also uses 1000 when the value is nullish.

## Example
Set milliseconds to 2000 and wire an upstream next to Execute. Wire this node's next to a follow-up operation, and its value to that operation's data input if needed. The downstream node becomes eligible only after the delay finishes and all other dependencies finish.

## Limits and failures
The runtime sleep API clamps a requested delay to 0–300,000 ms. The entire wait counts against the per-attempt node timeout; ensure that timeout is greater than the requested wait, allowing execution overhead. A retry repeats the wait from the beginning. Cancellation or host interruption does not preserve remaining sleep time or promise a later resume.

An absent optional value may disappear after serialization and cause a wired data consumer to skip; a next-only consumer can still follow the completed delay. No error route is declared. The body does no network I/O, secret access, logging or checkpoint writes. For periodic work, use a schedule/poll entry rather than keeping a worker asleep.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `app.core.core.delay` |
| Kind | node |
| Family | app-core |
| Pack | See library discovery |

[Integration guide](/wiki/first-workflow/) · [Browse the catalog](/wiki/integration-catalog/)

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Execute | control | No |  |
| `value` | Value | any | No |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `value` | Value | any | No |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {
    "milliseconds": {
      "type": "number",
      "title": "Milliseconds",
      "default": 1000,
      "minimum": 0
    }
  }
}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../OpenNodeFlow-Library/work/catalog-all.mjs`
- `../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs`
- `shared/seed.ts`
- `shared/storage-library.ts`
- `shared/variable-library.ts`
- `shared/control-flow.ts`
- `shared/remote-routes.ts`
- `server/runtime-library.ts`
- `shared/error-library.ts`
- `shared/storage-model.ts`
- `shared/builtin-documentation.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
