Skip to main content
Unpack Tuple icon

Unpack Tuple

1 Sürüm

Splits a tuple-typed stream into one output stream per element, preserving positional order. Inverse of {{component:pack_tuple}}.

How it fits

{{type:(t0, t1)}} -> {{component:unpack_tuple}} -+-> {{type:t0}}
                                                 +-> {{type:t1}}

Typical backends

  • Stamp-then-process: {{component:stamp_message}} -> {{component:unpack_tuple}} -> separate timestamp and value streams.
  • Detection split: {{component:detect_objects_triton}} tuple -> {{component:unpack_tuple}} -> independent box / score handlers.
  • Pair processing: {{component:pack_tuple}} -> downstream worker -> {{component:unpack_tuple}} -> per-element analytics.
  • Coordinate split: 2D position tuple -> {{component:unpack_tuple}} -> separate x / y streams -> {{component:output_browser_stream}}.

Caveats

  • All output streams tick together at the input cadence; idle consumers still pay the synchronisation cost.
  • Output positions are structural — downstream wiring must match the tuple shape exactly.
  • For field-named access use {{component:unpack_record}} instead.

Sürümler

  • 1c71617adefaultlatestlinuxDönüşüm