Demultiplexer
[flow/Demultiplexer]
Forwards the data property of the received multiplexed signal to the output port matching the corresponding port ID (field). Example:
fields
is set to ["a", "b"]Output ports
a
andb
get created{"field": "b", "data": 5} received via
multiplexed
The number 5 will be sent via
b
.
Keywords: distribute, unbundle
Input ports
fields:
(string[] or number[])
Receives a list of output port names to send multiplexed data payload to. Must be parameter.
multiplexed:
{"field": string, "data": any}
Receives multiplexed data.
Output ports
demultiplexed:
{"field": string, "data": any}["data"]
Sends demultiplexed payload data.
Last updated