Skip to content

Instantly share code, notes, and snippets.

@devdays
Created November 30, 2014 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdays/d3df3bb01593895ce214 to your computer and use it in GitHub Desktop.
Save devdays/d3df3bb01593895ce214 to your computer and use it in GitHub Desktop.
WebWorker uses postMessage to send a message back to the originating thread
// code in myWorkerTask
postMessage('My Messages from the Worker');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment