Skip to content

Bud.TaskGraph helps you build dependency graphs of actions and execute them asynchronously and in parallel.

License

Notifications You must be signed in to change notification settings

urbas/Bud.TaskGraph

Repository files navigation

Build status NuGet

Table of contents

About

Bud.TaskGraph helps you build dependency graphs of actions and execute them asynchronously and in parallel.

Example

using Bud;

var taskA = new TaskGraph(() => Console.WriteLine("A"));
var taskB = new TaskGraph(() => Console.WriteLine("B"));
var taskC = new TaskGraph(() => Console.WriteLine("C"), taskA, taskB);

// This function blocks. It runs A and B in parallel first, and then C.
taskC.Run();

// Asynchronous version of Run():
await taskC.RunAsync();

About

Bud.TaskGraph helps you build dependency graphs of actions and execute them asynchronously and in parallel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages