Skip to content

PoolNextInput ​

Type, in @jr2/orchestrator/src/pool.ts. It is an export of @jr2/orchestrator, in the Composition group of the Authoring surface 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

The docs of Kit version 0.8.0. Each page is also at its .md URL.