Skip to main content

Command Palette

Search for a command to run...

Web Workers: Adding Multi-threading to JavaScript

Updated
1 min readView as Markdown
Web Workers: Adding Multi-threading to JavaScript

Web Workers makes it possible to run a script operation in a background thread separate from the main execution thread of a web application. The advantage of this is that laborious processing can be performed in a separate thread, allowing the main (usually the UI) thread to run without being blocked/slowed down.

Web workers have been around for a long time and add multi-threading capability to JavaScript. Let's dive in and see how they work.

Read On

29 views

More from this blog

LoginRadius

85 posts