Skip to content
jshacks.dev

Tag

web workers

1 post

Flat illustration of a rising bar chart and a gauge, with the Google Chrome, Redis and Prometheus logos.
Browser

How to Offload Work to a Web Worker

Offload work to a web worker to keep the page responsive: postMessage, module workers, transferables, Comlink-style RPC, error handling, pools and limits.

8 min read