omidantilong / webworker-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webworker-demo

This is a very simple example of how to set up and communicate with a dedicated web worker.

A deliberately awful counting function is implemented in both the main thread and the worker. Use the buttons to start the process in the corresponding context.

http://29b6.io/webworker/

Usage

npm install

Then:

npm run start

About


Languages

Language:JavaScript 53.3%Language:HTML 24.6%Language:SCSS 22.1%