Skip to main content

Type Alias: WaitAllResult

WaitAllResult = { kind: "all-emitted"; outputs: readonly unknown[]; } | { droppedAt: string; kind: "dropped"; reason: SkipReason; }

Defined in: packages/core/src/graph/registry.ts:64

Result of waitForAll. Either every predecessor emitted — in which case outputs is their outputs in predecessor-list order — or at least one dropped — in which case droppedAt names the first-dropped predecessor (in list order) and reason carries the skip reason to cascade.

The runner uses this to decide whether to run the current node or cascade a skip. "First-dropped" is deliberate: picking the first in list order makes the cascaded reason deterministic regardless of arrival timing.