Top "Web-worker" questions

Questions with this tag should be about the "Web Workers" technology.

Since JavaScript is single-threaded, how are web workers in HTML5 doing multi-threading?

I've been reading about web workers in HTML5, but I know JavaScript is single-threaded. My question is: How are web …

javascript html web-worker
Web Workers vs Promises

In order to make a web app responsive you use asynchronous non-blocking requests. I can envision two ways of accomplishing …

javascript asynchronous promise jquery-deferred web-worker
Web Workers and Canvas

Are web workers allowed to access a canvas object?

javascript html html5-canvas web-worker
Do Shared Web Workers persist across a single page reload, link navigation

Shared Web Workers are designed to allow multiple pages from the same site (origin) to share a single Web Worker. …

javascript multithreading html websocket web-worker
Service Workers not updating

I have a service worker installed in my website, everything works fine, except when I push an update to the …

javascript web-worker service-worker
Reliably detect if the script is executing in a web worker

I am currently writing a little library in JavaScript to help me delegate to a web-worker some heavy computation . For …

javascript web-worker
Phonegap and WebWorkers

I am trying to write a PhoneGap/Cordova app. I am trying to do some of the more long running …

cordova phonegap-build web-worker
How to handle Web Workers "standard" syntax with webpack?

I wonder if it's actually possible to handle Web Worker "standard syntax" in webpack (e.g var worker = new Worker(…

webpack web-worker
Why was HTML5 Web Workers support removed from the Android browser in versions 2.2 and up?

I'm trying to learn something about JavaScript threading. And from a tutorial I learned about HTML5 API web worker. This …

javascript android html web-worker
Pass large amounts of data between web worker and main thread

Is there a way to pass large amounts of data (multiple MB) between a web worker and the main thread? …

javascript html web-worker html5-filesystem