flâneur — a map of the web's best reading

Web Workers API - Web APIs | MDN

developer.mozilla.org · 714 words · saved by 1 readers

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 API - Web APIs | MDN Skip to main content Skip to search Web Workers API 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. Concepts and usage A worker is an object created using a constructor (e.g., Worker() ) that runs a named JavaScript file — this file contains the code that will run in the worker thread. In addition t

Explore this link on the map →

related reading