This repository hosts a couple of simple demos that I wrote for a talk about Web Workers and Service Workers that I was invited to give at Source{d} Tech Talks Front 2017.
📹 Video from the session and supporting slides
💻 To check the demos yourself:
- Clone the repository with
git clone https://github.com/soyguijarro/multithreaded-web.git
. - Start any HTTP static server from the
src
directory of the project. If you have Node.js installed, you can just runnpm install && npm start
from the root directory. - Go to http://localhost:8080 in your browser.
📝 The demos log different actions to the console, so that you can see what's happening in your browser's developer tools. Logs from the main thread are colored green and those coming from workers are pink.