Configuration.link()
Description
Appends a link filter to the current pipeline layout.
A link filter starts a sub-pipeline and streams events through it.
- INPUT - Any types of Events to stream into the sub-pipeline.
- OUTPUT - Events streaming out from the sub-pipeline.
- SUB-INPUT - Events streaming into the link filter.
- SUB-OUTPUT - Any types of Events.
When a sub-pipeline layout is to be used in more than one places, you can give it a name by defining it with pipeline() and "links" to it from multiple places using the link filter.
Syntax
pipy().pipeline().link('named-sub-pipeline')
Parameters
link(pipelineLayoutName)
pipelineLayoutName
The name of the sub-pipeline layout to link to, or a function that returns that.
Return Value
The same Configuration object.