WIP: Pass an argument that indicates the operation to perform to web workers that can perform several operations.
The operation argument is passed back to the main thread when the worker finishes, so that the function handling the callback can act differently depending on what operation has just finished.
↧