Hello all Indiehackers,
Web Workers is a browser feature that enables scripts to be executed on a separate thread from your web application's main execution thread. This enables your web application's main thread to run without being blocked by sluggish scripts in your application.
Just came through few useful guides for "Web workers in JS", you might find it useful too:
https://www.loginradius.com/blog/async/web-workers/
https://www.w3schools.com/html/html5_webworkers.asp
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers