Web Workers

GPTKB entity

Statements (50)
Predicate Object
gptkbp:instanceOf gptkb:REST_API
gptkbp:accessibleBy gptkb:Cache_API
gptkb:IndexedDB
localStorage
sessionStorage
document object
parent object
window object
gptkbp:canBe gptkb:XMLHttpRequest
gptkb:Progressive_Web_Apps
gptkb:Single_Page_Applications
Image processing
Cryptography
Web applications
Data parsing
navigator object
setInterval
setTimeout
gptkbp:canBeDebuggedWith Browser developer tools
gptkbp:canBeSpawnedBy Other workers
gptkbp:canBeTerminatedBy terminate() method
gptkbp:canCreate Worker() constructor
gptkbp:canImportScripts importScripts()
gptkbp:cannotUse alert
confirm
prompt
gptkbp:communicatesVia Main thread
gptkbp:definedIn gptkb:WHATWG
gptkbp:doesNotHaveAccessTo gptkb:DOM
gptkbp:enables Parallel execution of scripts
gptkbp:features gptkb:Same-origin_policy
gptkbp:hasEvent onclose
onerror
onmessage
gptkbp:hasType gptkb:Service_Worker
gptkb:Shared_Worker
Dedicated Worker
https://www.w3.org/2000/01/rdf-schema#label Web Workers
gptkbp:introducedIn 2009
gptkbp:lifeCycle Created and terminated by main thread
gptkbp:partOf gptkb:HTML5
gptkbp:purpose Run JavaScript in background threads
gptkbp:specifies https://html.spec.whatwg.org/multipage/workers.html
gptkbp:supportedBy Most modern browsers
gptkbp:supportsProtocol postMessage
gptkbp:usedFor Data processing
Background tasks
Heavy computations
gptkbp:bfsParent gptkb:Web_Platform_Working_Group
gptkbp:bfsLayer 4