Top "Web-worker" questions

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

Web workers without a separate Javascript file?

As far as I can tell, web workers need to be written in a separate JavaScript file, and called like …

javascript web-worker
Chrome can't load web worker

I am working on a project that uses a web worker. In my head section I have this code: var …

javascript google-chrome web-worker
Uncaught ReferenceError: importScripts is not defined

Why do I keep getting this error? I should be able to use this global function right? http://www.html5…

javascript google-chrome web-worker
Node.js and CPU intensive requests

I've started tinkering with Node.js HTTP server and really like to write server side Javascript but something is keeping …

javascript node.js serverside-javascript web-worker
AngularJS and web workers

How can angularJS use web workers to run processes in the background? Is there any pattern I should follow on …

javascript angularjs web-worker
Passing objects to a web worker

I'm trying to pass an object to a web worker through the postMessage function. This object is a square that …

javascript web-worker
importScripts (web workers)

I have tried to use importScripts to load a second JavaScript file into my web worker, but although no error …

javascript html web-worker
What are the use-cases for Web Workers?

I am looking for real-world scenarious for using Web Workers API.

javascript html web-worker
Which would be better for concurrent tasks on node.js? Fibers? Web-workers? or Threads?

I stumbled over node.js sometime ago and like it a lot. But soon I found out that it lacked …

multithreading node.js concurrency web-worker fibers
HTML Web Worker and Jquery Ajax call

I'm wondering if I can use jQuery inside the web worker file. Google Chrome gives me this error: "Uncaught ReferenceError: $ …

jquery ajax html web-worker