Function to set up the web worker creator.
This has to be offloaded into a separate file because the unit testing setup will fail if it sees a worker import.
Function to set up the web worker creator.
This has to be offloaded into a separate file because the unit testing setup will fail if it sees a worker import.