Table of Contents

Class SharedStorageWorkletGlobalScope

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The SharedStorageWorkletGlobalScope interface of the {{domxref("Shared Storage API", "Shared Storage API", "", "nocode")}} represents the global scope of a SharedStorageWorklet module.
[Value("SharedStorageWorkletGlobalScope")]
public class SharedStorageWorkletGlobalScope : WorkletGlobalScope
Inheritance
SharedStorageWorkletGlobalScope
Inherited Members

Remarks

Constructors

SharedStorageWorkletGlobalScope()

public SharedStorageWorkletGlobalScope()

Properties

Navigator

[Value("navigator")]
public SharedStorageWorkletNavigator Navigator { get; }

Property Value

SharedStorageWorkletNavigator

PrivateAggregation

[Value("privateAggregation")]
public PrivateAggregation PrivateAggregation { get; }

Property Value

PrivateAggregation

SharedStorage

NOTE
Experimental
The context read-only property of the
SharedStorageWorkletGlobalScope interface contains a WorkletSharedStorage object instance, which represents the shared storage for a particular origin as exposed to a worklet context.
[Value("sharedStorage")]
public SharedStorage SharedStorage { get; }

Property Value

SharedStorage

A WorkletSharedStorage object instance.

Remarks

Methods

InterestGroups()

[Value("interestGroups")]
public Task<List<StorageInterestGroup>> InterestGroups()

Returns

Task<List<StorageInterestGroup>>

Register(string, Function)

NOTE
Experimental
The register() method of the
SharedStorageWorkletGlobalScope interface registers an {{domxref("SharedStorageOperation", "operation", &quot;&quot;, &quot;nocode&quot;)}} defined inside the current worklet module.
[Value("register")]
public GlobalObject.Undefined Register(string name, Function operationCtor)

Parameters

name string
operationCtor Function

Returns

GlobalObject.Undefined

None (undefined).

Remarks