Flow controls
← Relifold documentationScatter
Declare independent pipeline branches together.
Scatter groups nodes that can be arranged as independent branches. It is a concise
declaration aid; each contained node retains its own inputs, outputs, metrics, and review identity.
Scatter((
Transform(
name="parse-orders",
input_spaces=("orders",),
output_space="parsed-orders",
fn=parse_order,
),
Transform(
name="parse-payments",
input_spaces=("payments",),
output_space="parsed-payments",
fn=parse_payment,
),
))
Execution
Independent branches may execute concurrently when the hosted runtime has available capacity. Use Barrier only when a later stage must wait for all of them.