[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:978](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Schedule.ts#L978)

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]);
```