I am thinking of using Web Workers to provide some background functionality while a user is browsing my website (that's what Web Workers are for, right?). However, I don't want to take the risk of compromising the user experience by causing laggy scrolling, unresponsive controls, etc. Web Workers are mapped on OS threads, hence I would expect some control on the priority of these threads however, as far as I know, there's no such thing in the current API. Do you know a how to accomplish this? Even with a hack?
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label web-worker. Show all posts
Showing posts with label web-worker. Show all posts
Thursday, May 10, 2012
Is there a way to set a Web Worker to low priority?
Thursday, April 19, 2012
What are the use-cases for Web Workers?
I am looking for real-world scenarious for using Web Workers API .
Subscribe to:
Comments (Atom)