Imagine a scenario where I want to continuously invoke user-supplied Javascript code, like in the following example, where getUserResult is a function that some use
getUserResult
There is a great tutorial for web workers.