Multiplexer
Last updated
Last updated
[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
and b
get created
The number 5 received via b
{"field": "b", "data": 5} will be sent via multiplexed
.
Keywords: collect, bundle
fields: (string[] or number[])
Receives a list of input port names to accept data payload through.
demultiplexed: any
Receives data payload for multiplexing.
multiplexed: {"field": string, "data": any}
Sends multiplexed data.