BackgroundWorker provides tasks to perform them in a background thread. It also provides the ability to run code of the tasks in the main thread to access the Unity API.
Using threads in your application allows you to take control of all cores and processors on the target system. Without this, you use only a small fragment of the true power potential effectiveness.
Features:
- task queue
- adjust the amount of background threads
- execution of the code in the main thread
- adjust maximum execution time in the main thread per frame