[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) › collectAllScheduleOutputs

```ts
function collectAllScheduleOutputs<Output, Input>(
  schedule: Schedule<Output, Input>,
): Schedule<readonly Output[], Input>;
```

Defined in: [packages/common/src/Schedule.ts:1147](https://github.com/evoluhq/evolu/blob/e7144e2bbe9069362b62dec1b64a8aa922b8f1b0/packages/common/src/Schedule.ts#L1147)

Collects all outputs into an array.

Each step outputs an array containing all outputs so far.

### Example

```ts
// Collect all delays
const collected = collectAllScheduleOutputs(take(3)(spaced("100ms")));
// Outputs: [100], [100, 100], [100, 100, 100]
```