Configuration.to()
Description
Attaches a sub-pipeline layout to the last joint filter.
This method can only be invoked right after adding a joint-filter (See Sub-pipeline) to the Configuration. Both sub-pipeline layout names and in-place sub-pipeline layouts are supported.
Syntax
pipy().pipeline().someJointFilter().to(subPipelineLayoutName).otherFilters()// ...pipy().pipeline().someJointFilter().to($=>$.filterA().filterB()// ...).otherFilters()// ...
Parameters
to(pipelineLayout)
pipelineLayout
The name of a sub-pipeline layout, or a function that receives a Configuration object for configuring an anonymous sub-pipeline layout.
Return Value
The same Configuration object.