NestedPipeline
The NestedPipeline
component is essentially a pipe that will trigger a new Pipeline that is wrapped around its children.
The above example is however a bit redundant. Since the nested pipes will be executed sequentially, no extra functionality is actually added in this case.
The real power comes from mixing synchronous and asynchronous pipelines.
In the following example, all upper-level pipes are executed in parallel while the nested pipes are executed in sequence. This means that the nested pipeline will actually start to execute at the same time as the other pipes.