[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Schedule](https://evolu.dev/docs/api-reference/common/Schedule) › delayed

```ts
function delayed(
  initialDelay: Duration,
): <Output, Input>(
  schedule: Schedule<Output, Input>,
) => Schedule<Output, Input>;
```

Defined in: [packages/common/src/Schedule.ts:970](https://github.com/evoluhq/evolu/blob/dd96d79f1dbe9a49fa12ce8e0aa7d3d0177795ca/packages/common/src/Schedule.ts#L970)

Replaces the schedule's first delay.

The first successful step uses `initialDelay` instead of the delay produced
by the schedule. Subsequent steps use the schedule's delays unchanged.

### Replacing the first delay

```ts

const step = delayed("1s")(exponential("100ms"))(testCreateDeps());
// Only the first delay is replaced; later exponential delays are unchanged.
assertOk(step(undefined), [100, 1000]);
assertOk(step(undefined), [200, 200]);
```