UCTask.Worker

A helper package to simplify worker thread opration by abstracting the Start/Stop operations. Supports dependent workers.

class MyProcess : WorkerBase
{
    protected override void Cycle(CancellationToken cancellationToken)
    {
        // Do short, cycling work or
        // long-running process.
    }
}

public static class Program
{
    public static void Main()
    {
        var process = new MyProcess();
        process.Start();
        Console.ReadKey();
        process.Stop();
    }
}

.Net Standard 2.1

Developed for .Net Standard 2.1 and is fully .Net Core 3.1 compatible

Simple to Use

UCTask.Worker is extremely simple to use. Just inherit from the WorkerBase class and and your class is a worker with Start/Stop functionality.

Open Source

The library is completely open source. Click on the Source Code button above to take you to the GitHub repository.

Licensing

UCTask.Worker is open source under the MIT license and is free for commercial use.

Products
Social & Community
  • Twitter
  • github-logo

© 2020 BY URBAN ROBOTICS (PTY) LTD