Web workers

GPTKB entity

Statements (50)
Predicate Object
gptkbp:instanceOf gptkb:REST_API
gptkbp:accessibleBy gptkb:IndexedDB
alert
localStorage
confirm
document object
navigator object
parent object
prompt
window object
DOM directly
gptkbp:alternativeTo main thread JavaScript execution
gptkbp:canBe gptkb:XMLHttpRequest
setInterval
setTimeout
importScripts
debugged with browser dev tools
terminated by itself
terminated by main thread
gptkbp:canBeSpawnedBy other workers
gptkbp:cannotUse synchronous XHR
gptkbp:communicatesVia main thread
gptkbp:createdBy Worker() constructor
gptkbp:definedIn gptkb:HTML5_specification
gptkbp:event onclose
onerror
onmessage
https://www.w3.org/2000/01/rdf-schema#label Web workers
gptkbp:introducedIn 2009
gptkbp:lifeCycle created and terminated by main thread
gptkbp:purpose run JavaScript in background threads
gptkbp:script separate JavaScript file
gptkbp:securityContext gptkb:same-origin_policy
gptkbp:standardizedBy gptkb:W3C
gptkbp:supportedBy modern web browsers
gptkbp:supportsProtocol message passing
gptkbp:type service worker
dedicated worker
shared worker
gptkbp:usedFor improving web application performance
offloading heavy computations
preventing UI blocking
gptkbp:usedIn cryptography
image processing
real-time data processing
progressive web apps
data parsing
machine learning in browser
gptkbp:bfsParent gptkb:standard
gptkbp:bfsLayer 4