Overview
When a script takes a long time to run, it is often desirable to run the task in a background process so that it does not tie up the processor and freeze the user interface. Additionally, if the process can be split into multiple processes, it is possible to use additional processors in the machine to speed up computation.
The Worker Pool Library provides a library for delegating tasks to background processes.
Concurrency
When there are multiple tasks that need to be computed, which can occur in parallel, the tasks can be run concurrently using the concurrency library.