Skip to content

Concurrency Kit

Get it now in the Unity Asset Store!

The Concurrency Kit is a .NET/Mono kit that includes a port of the Task Parallel Library and extends it to support FibersCoroutines, and Unity. Fibers allow code paths to execute concurrently using a single thread by leveraging the co-operative yielding behavior of coroutines.

Because code written in this manner is designed with concurrency in mind, tasks can run in parallel across multiple threads or as concurrent fibers on a single thread by changing out the task scheduler. This flexibility makes it easy to write and maintain portable asynchronous code that scales.

  • Write more maintainable, more performant asynchronous code
  • Use the .NET 4+ asynchronous task model in your designs – it’s feature rich and the framework standard going forward
  • Start a background task using the thread pool and complete the operation on the main thread
  • Declaratively schedule workflows with chained asynchronous tasks and anonymous delegates
  • Coordinate between concurrently executing tasks
  • Easily cancel tasks in progress
  • Leverage multiple CPU cores for maximum throughput
  • Maximize individual thread usage with co-operative multitasking and task inlining
  • Control how tasks are scheduled and the level of concurrency


See the API Reference for what is included or learn more about the Concurrency Kit.