HTML web workers

GPTKB entity

Statements (49)
Predicate Object
gptkbp:instanceOf gptkb:website
gptkbp:accessibleBy gptkb:XMLHttpRequest
document object
importScripts()
navigator object
parent object
setInterval
setTimeout
window object
DOM directly
location object
gptkbp:API gptkb:ServiceWorker_API
gptkb:SharedWorker_API
Worker API
gptkbp:category Client-side scripting
gptkbp:compatibleWith gptkb:Internet_Explorer_9_and_below
gptkbp:definedIn gptkb:W3C
gptkbp:documentation https://html.spec.whatwg.org/multipage/workers.html
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API
gptkbp:enables Parallel execution of scripts
gptkbp:example new Worker('worker.js')
gptkbp:features gptkb:Same-origin_policy
https://www.w3.org/2000/01/rdf-schema#label HTML web workers
gptkbp:improves Web application performance
gptkbp:introducedIn 2009
gptkbp:lifeCycle Created by main thread
Terminated by main thread
gptkbp:partOf gptkb:HTML5_specification
gptkbp:prevention Blocking the main UI thread
gptkbp:purpose Run JavaScript in background threads
gptkbp:standardizedBy gptkb:WHATWG
gptkbp:supportedBy gptkb:Google_Chrome
gptkb:Mozilla_Firefox
gptkb:opera
gptkb:Microsoft_Edge
gptkb:Safari
gptkbp:type Dedicated worker
Service worker
Shared worker
gptkbp:usedFor Data processing
Heavy computations
Background synchronization
Image manipulation
Offline caching (Service workers)
Push notifications (Service workers)
Web application responsiveness
gptkbp:uses postMessage() for communication
gptkbp:bfsParent gptkb:standard
gptkbp:bfsLayer 4