Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 907 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 907 Bytes

dataprocessor

A library for dynamically constructing processing graphs in C#

Build status codecov

dataprocessor makes it easy to construct data processors at run-time in .Net. It's easy enough to hook functions to together at compile time, but when you have an unknown number of parameters and algorithms created at run-time, you may want some help.

var builder = new DataProcessorBuilder();

var writer = builder.AddInput<int>("input");
builder.AddProcessor<int, int>("input", "output", input => output + 1);
builder.AddListener<int>("output", output => Console.Out.WriteLine(output));

var processor = builder.Build();

writer.Send(42);