Re:An implausibly illustrated introduction to HTML5 Web Workers
by cubicle67 on Monday August 16, 2010 @08:51AM
(#1607609)
I've got into the (probably bad) habit of using setTimeout(returnMethod,1) as a means of overcoming this. It's especially useful for long scripts that fire in the body onLoad event
[ Parent
| on HN ]
Re:An implausibly illustrated introduction to HTML5 Web Workers
by jws on Monday August 16, 2010 @11:33AM
(#1608066)
This works, but the immediate danger I see is that the user can be interacting and triggering other events while you are still acting on the original request. Results will vary from "that's better for them" to "insanity!" depending on what you are doing.