Skip to main content

Iterator: Collect

Foundational exit node created automatically inside every iterator scope. Wires the per-iteration sub-graph output back into the parent iterator. Cannot be added or deleted manually — it appears as a side effect of creating an iterator and disappears when the iterator is removed.

The exposed input connector(s) depend on the parent iterator:

  • Mapcollect (any) — collected element for the output list.
  • Filterkeep (Bool) — whether to keep the current element.
  • Find / Some / Everymatch (Bool) — predicate result.
  • Reduceacc (any) — new accumulator for the next iteration.
  • GroupBykey (String) + value (any, optional) — bucket label and value.
  • Sortkey (Number or String) — comparable sort key.

Parameters

This node has no parameters.

Input

One or more connectors as listed above, depending on the parent iterator type.

Output

This node has no output connectors — its inputs feed back into the parent iterator.