Zip Streams component

Creates a single output stream from multiple input streams by aligning the events from each input stream.


1 ... n Any - two or more input streams to zip.


output Array - emits events with array of zipped values from the input streams.


Zip Streams component outputs a stream with values from input streams lined up with each other.

For example, if you have two input streams with a sequence of numerical values 1, 2, 3, and 4, 5, 6, 7, the output stream will issue [1, 4], [2, 5], and [3, 6]. The output stream will emit the next value only when it has at least one value from each input stream.

input1: -----0----1----2----3------->
input2: --------4-------5-------6--->
input3: 7----------------8----9----->
output: --------•--------•------•--->
[0,4,7] [1,5,8][2,6,9]

Set the number of input streams in the Settings dialog.

Note: This component sometimes is used incorrectly instead of Combine Streams. Please make sure you understand the difference and are making the right choice.


Number of input streams

Set the number of input ports. The default number is two.


Learn More