Changes

Jump to: navigation, search

DPS921/Web Worker API

294 bytes added, 13:24, 4 December 2020
Web Workers API
</ul>
</p>
== Browser Support ==
According to [https://caniuse.com/webworkers https://caniuse.com/webworkers] ''Web Workers API'' is supported on most of the modern web browsers on both desktop and mobile:
 
''Shared Worker'' features a lower support rate, but is still available on a plenty of browsers:
 
== Dedicated Worker ==
Dedicated workers are usually referred to when general web workers are mentioned. Dedicated workers are only accessible by the script that spawn them and are often represented in the DedicatedWorkerGlobalScope. Dedicated Workers are compatible with both desktop and mobile browsers. Dedicated workers provide us the capability to offload computation from the master thread to a thread running on another logical processor. We have leveraged dedicated workers in the following demo we hosted on GitHub pages:
50
edits

Navigation menu