Skip to main content

Switch to Many

Connects the input port to one of multiple output streams.

component image

In-ports​

connect Number - The index of the stream port to connect to the input port.

disconnect <any> - The event upon which the stream port disconnects from the input port.

input <any> - The input stream.

Out-ports​

stream 1..n <any> - Output streams.

Overview​

This component connects the input port to one of multiple output streams. In order to switch to another stream port, send its index to the connect port. To select which stream port is connected by default, specify its index in the component's Settings dialog.

Settings​

Number of output streams​

The number of output streams. The default value is two.

Default connection​

The index of the stream port that will be connected to the input port if no index is passed to the connect port. No value is set by default.