---
title: PoolNextInput
description: "The input of a Source's `next`: the ids of the items that workers have now, the ids of the items that settled, and the Pool's input."
---

# `PoolNextInput`

Type, in `@jr2/orchestrator/src/pool.ts`. It is an export of `@jr2/orchestrator`, in the [Composition](group-composition.md) group of the [Authoring surface](../authoring-surface.md) page.

```ts
type PoolNextInput<TInput = unknown> = { active: string[]; settled: string[]; input: TInput };
```

The input of a Source's `next`: the ids of the items that workers have now, the ids of the items
that settled, and the Pool's input. So a Source over a list that a Machine holds needs no state
of its own.

**Fields**

- `active`: `string[]`
- `settled`: `string[]`
- `input`: `TInput`
