WebIDLpedia

WorkerOptions dictionary

Definition

HTML Standard defines WorkerOptions



dictionary WorkerOptions {
  WorkerType type = "classic";
  RequestCredentials credentials = "same-origin"; // credentials is only used if type is "module"
  DOMString name = "";
};

Referring IDL interfaces/dictionaries