Skip to content

Advanced Topics

These pages explain how NPipeline works under the hood. You don't need them to use the library, but they're valuable if you want to understand the design decisions, extend the framework, or contribute to the core.

Architecture and Design

PageWhat You'll Learn
Architecture OverviewSystem layers, component relationships, and how the pieces fit together
Design PrinciplesThe core philosophy behind every design decision - streaming-first, fail-fast, zero-allocation hot paths, and more
Execution ModelHow PipelineRunner orchestrates node execution from graph to output
Data Flow InternalsIDataStream<T>, async enumeration, and how streams connect nodes
Node InstantiationCompiled expression factories, DI fallback, and caching
CancellationCooperative cancellation propagation through the entire execution stack

Released under the MIT License.