then
Chains two pipeline stages together to form a new pipeline stage.
Given two stages, A -> B and B -> C, this operator produces a new stage A -> C
This operator allows pipeline stages to be composed in a fluent manner:
val combinedStage = stage1 then stage2 then stage3Content copied to clipboard
The output of the first stage becomes the input to the second stage, and the resulting pipeline stage takes the input of the first stage and produces the output of the second stage.
Return
a new pipeline stage that executes this stage followed by the next stage
Parameters
next
the next pipeline stage to execute after this one