SharedStorageWorkletGlobalScope
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The SharedStorageWorkletGlobalScope interface of the Shared Storage API represents the global scope of a SharedStorageWorklet module.
Instance properties
-
Contains an instance of the
WorkletSharedStorageobject, representing the shared storage for a particular origin as exposed in a worklet context.
Instance methods
register()Experimental-
Registers an operation defined inside the current worklet module.
Examples
See the Shared Storage API landing page for a walkthrough of this example and links to other examples.
Specifications
| Specification |
|---|
| Shared Storage API # sharedstorageworkletglobalscope |