WebIDLpedia

SharedStorageWorklet interface

Definition

Shared Storage API defines SharedStorageWorklet



[Exposed=(Window)]
interface SharedStorageWorklet : Worklet {
  Promise<SharedStorageResponse> selectURL(DOMString name,
                               FrozenArray<SharedStorageUrlWithMetadata> urls,
                               optional SharedStorageRunOperationMethodOptions options = {});
  Promise<any> run(DOMString name,
                   optional SharedStorageRunOperationMethodOptions options = {});
};

Methods and attributes that return objects implementing SharedStorageWorklet

Referring IDL interfaces/dictionaries