Combine Streams component
Combines the values from the input streams. On each value from any input stream, emits a combined value from the latest values from each input stream.
In-ports
1 ... n Any
- two or more input streams to combine.
Out-ports
output Array
- emits events with array of combined values from the input streams.
Overview
Combine Streams component outputs a stream with values from input streams combined together. On each value from any input stream, emits a combined value from the latest values from each input stream. For example, if you have two input streams with a sequence of numerical values 1
, 3
, and 2
, 4
, the output stream will issue [1,2]
, [3,2]
, and [3,4]
. The output stream will emit the next value only when there is a new input on any of its input ports.
Set the number of input streams in the Settings dialog.
Settings
Number of input streams
Set the number of input ports. The default number is two.