> For the complete documentation index, see [llms.txt](https://docs.rootcause.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rootcause.ai/more-details/applications/application-modules/delay.md).

# Delay

> Hold a value for a number of seconds on a Temporal timer.

Holds a value for `forS` seconds on a Temporal timer, then passes it through unchanged. A timer, not a sleeping worker — which is why it is durable only and costs nothing while it waits.

## At a glance

|                          |                        |
| ------------------------ | ---------------------- |
| Module type              | `Delay`                |
| Category                 | Primitives · Control   |
| Default tier             | `durable`              |
| Runs on                  | `durable`              |
| Starts a flow            | no                     |
| Holds a body             | no                     |
| Keeps state between runs | no                     |
| Available in             | every application type |

## Parameters

### `forS`

`number` · required · defaults to `60`

Seconds to hold the value, on a timer rather than an occupied worker.

## Inputs

| Port    | Kind     | Required | Description                                                                                                                           |
| ------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `on`    | `event`  | no       | Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs. |
| `value` | `scalar` | yes      | The value to hold.                                                                                                                    |

## Outputs

| Port    | Kind     | Connects to                        | Description                           |
| ------- | -------- | ---------------------------------- | ------------------------------------- |
| `value` | `scalar` | `scalar`, `json`, `text`, `signal` | The same value, `forS` seconds later. |

***

[← All application modules](/more-details/applications/application-modules.md)
