Multiplexer
[flow/Multiplexer]
Forwards data received via dynamic inputs to multiplexed
, wrapped in a record which carries both the data and the ID of the port (field) that it was received through.
Example:
fields
is set to ["a", "b"]Input ports
a
andb
get createdThe number 5 received via
b
{"field": "b", "data": 5} will be sent via
multiplexed
.
Keywords: collect, bundle
Input ports
fields:
(string[] or number[])
Receives a list of input port names to accept data payload through.
demultiplexed:
any
Receives data payload for multiplexing.
Output ports
multiplexed:
{"field": string, "data": any}
Sends multiplexed data.
Last updated