Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 1.25 KB

File metadata and controls

26 lines (19 loc) · 1.25 KB

Project Status

  • I acrhiving this repository in favor of a C99 version instead as I was unhappy with the performance of using Task objects in C#. For details of the C99 version please see the following link.

Task Flow

The new version, now named TaskFlow, allows you to write Tasks similar to Unity's Job System. You will still schedule Task structs, however a TaskHandle is returned when scheduling. This allows you to take the TaskHandle and feed it as a dependency to the next Task that needs to be scheduling, creating a dependency chain.

The most independent Tasks will be scheduled to run first and the least independent tasks will be scheduled to run last. This allows you to chain a bunch of Tasks together to run later in your pipeline.

The core features of this new system are in, the remaining work that needs to be done are:

  • Setting up configurations through a Builder struct
  • Reducing GC Pressure when scheduling Tasks each frame
  • [ ] Combining dependencies together

Supports the following .NET versions:

  • .NET 8 LTS
  • .NET 2.1 Standard

Example

For an example please see the TaskGraphTests.cs.