I am trying to pass this polling off to a web worker because my UI is not responsive for the duration of the polling. I am stuck on calling the ajax request and then returning that to the main thread so that I can append it.
Has anyone else moved something like this to a web worker? If so, how?
I am trying to pass this polling off to a web worker because my UI is not responsive for the duration of the polling. I am stuck on calling the ajax request and then returning that to the main thread so that I can append it.
Has anyone else moved something like this to a web worker? If so, how?