Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 2.34 KB

README.md

File metadata and controls

49 lines (29 loc) · 2.34 KB

Pipelines for C#

A library for implementing programs as Pipeline objects. Inspired by Arlo Belshee's talk, Refactoring to Async.

Build and Test NuGet Status

Contents

Pipelines

Pipelines are a mechanism of separating a function that produces something into two things: - an object that represents the process of that function (the "pipeline") - executing that pipeline to produce the result

The advantage of doing this is that the pipeline is easy to test, easy to visualize, and easy to modify globally such as adding logging or converting to async.

This library also allows for simple, small-step transformations to incrementally refactor existing procedural code, making it practical to do in your current production code.

Read about pipelines here

Details about actions here

Refactoring To Async

Tutorial Here

Available on NuGet

Suggested VSCode Plugin

Graphviz (dot) language support for Visual Studio Code by João Pinto is great. CTRL-SHIFT-V to preview a .dot file as a rendered graph.

Attribution

pipeline icon by Francisco Javier Diaz Montejano from the Noun Project