Configuration.demux()
Description
Appends a demux filter to the current pipeline layout.
A demux filter distributes each input Message to a separate sub-pipeline.
- INPUT - Messages to distribute to different sub-pipelines.
- OUTPUT - No output.
- SUB-INPUT - A Message streaming into the demux filter.
- SUB-OUTPUT - Disgarded.
A demux filter does the following:
- At the input to a demux filter, Messages are separated
- For each input Message, a dedicated sub-pipeline is created, whose input is only that Message
- At the output from the demux filter, nothing is outputted (compare to demuxQueue())
One demux filter can have more than one sub-pipelines, each of which handles only one Message. Compare this to mux().
Syntax
pipy().pipeline().demux().to(subPipelineLayout)
Parameters
demux(options?)
options?
No description
Return Value
The same Configuration object.