Jump to: navigation, search

DPS921/Web Worker API

4 bytes added, 18:09, 30 November 2020
== Overview ==
''Web Workers API'', as specified in the ''HTML Living Standard'', is an application programming interface that defines specifications for running scripts in the background independently of any user interface scripts. The first iteration of the ''Web Workers API'' standard was initially presented in 2010 with ''HTML5''. Even though web workers are not a part of JavaScript, but rather a browser feature, they can accessed through it. Web Workers are utilized by millions of websites across the web for a multitude of tasks, varying from image processing to artificial intelligence and even bitcoin mining. There is a number of interfaces defined in the ''Web Workers API'', but we will mainly focus on the following two: ''Shared'' and ''Dedicated workers''. Both of them inherit from the ''WorkerGlobalScope'', which represents the generic scope of any worker, which primarily does the same thing as Window in the normal web content.

Navigation menu