webworker
webworker
Web Workers allow JavaScript to run in the background, off the main thread, to avoid blocking UI updates. Why use it? Web Workers improve performance by handling CPU-intensive tasks without affecting the user interface. Best practices include managing communication between the worker and the main thread. Web Workers were first introduced in 2009.
Source: