WebIDLpedia

Worklet interface

Definition

HTML Standard defines Worklet



[Exposed=Window, SecureContext]
interface Worklet {
  [NewObject] Promise<undefined> addModule(USVString moduleURL, optional WorkletOptions options = {});
};

Referring IDL interfaces/dictionaries

Referring specifications