Repeat icon

Repeat

1 Version

Emits the second input value n times on every paired tick, where n comes from the first input.

How it fits

{{type:UInt64}} -+
                 +-> {{component:repeat}} -> {{type:t}} (emitted n times)
{{type:t}}      -+

Typical backends

  • Burst broadcast: control source emitting a count + payload stream -> {{component:repeat}} -> downstream that expects per-tick replication.
  • Per-frame fan-out: frame counter + frame metadata -> {{component:repeat}} -> {{component:output_browser_stream}}.
  • Repeat-last for retries: retry-count stream + last-event -> {{component:repeat}} -> {{component:output_json_http}}.
  • Replicate constants conditionally: count stream + {{component:constant}} -> {{component:repeat}} -> {{component:filter}}.

Caveats

  • n = 0 produces no output for that tick; downstream must tolerate zero-emission ticks.
  • Both inputs must tick together; the value is consumed once per pair regardless of n.
  • Output cadence is bursty — high n values produce a tight burst on the output stream.

Versionen

  • 0a2a922cdefaultlatestlinuxTransformation