GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

5 results across 6 corpora for SharedStorageOperation.

Developer library 5

SharedStorageSelectURLOperation

eration); ``` > [!NOTE] > It is possible to define and register multiple operations in the same shared storage worklet module script with different names; see SharedStorageOperation for an example. In the main browsing context, the `ab-testing` operation is invoked using the WindowSharedStorage.selectURL() method: ```js // Randomly assigns a user to a group 0 or 1 function getExperimentGroup() { return Math.roun

SharedStorageOperation

Shared Storage API The **`SharedStorageOperation`** interface of the Shared Storage API represents the base class for all output gate operation types. The output gate types are detailed below: <table class="no-markdown"> <thead> <tr> <th>Name</th> <th>Description</th> <th>Defined by</th> <th>Invoked by</th> </tr> </thead> <tbody> <tr> <td>URL Selection</td> <td

SharedStorageWorkletGlobalScope: register() method

her examples. > [!NOTE] > It is possible to define and register multiple operations in the same shared storage worklet module script with different names; see SharedStorageOperation for an example. ## Specifications ## Browser compatibility ## See also - [Shared Storage API](/docs/Web/API/Shared_Storage_API)

SharedStorageRunOperation

eration); ``` > [!NOTE] > It is possible to define and register multiple operations in the same shared storage worklet module script with different names. See SharedStorageOperation for an example. In the main browsing context, the `reach-measurement` operation is invoked using the WindowSharedStorage.run() method: ```js async function measureUniqueReach() { // Load the Shared Storage worklet await window.shar

Shared Storage API

in a worklet. > [!NOTE] > It is possible to define and register multiple operations in the same shared storage worklet module script with different names; see SharedStorageOperation for an example. #### Add the module to the shared storage worklet To use the operation defined in the worklet module, it needs to be added to the shared storage worklet using window.sharedStorage.worklet.addModule(). In our main app co

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/Shared_Storage_API

JSON results · Services directory