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:
Map—collect(any) — collected element for the output list.Filter—keep(Bool) — whether to keep the current element.Find/Some/Every—match(Bool) — predicate result.Reduce—acc(any) — new accumulator for the next iteration.GroupBy—key(String) +value(any, optional) — bucket label and value.Sort—key(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.