WorkerOptions Class
https://html.spec.whatwg.org/multipage/workers.html#workeroptions
public class WorkerOptionsConstructors
| Name | Description |
|---|---|
| WorkerOptions() |
WorkerOptions()
Worker.cspublic WorkerOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Credentials | Gets the credentials mode of the fetch of a module script. |
| Name | Gets the name of the worker, exposed by its global object. |
| Type | Gets the type of the script: a classic script, or a module script. |
Credentials
Worker.csGets the credentials mode of the fetch of a module script.
public RequestCredentials Credentials { get; init; }Name
Worker.csGets the name of the worker, exposed by its global object.
public string Name { get; init; }Property value
See also
Type
Worker.csGets the type of the script: a classic script, or a module script.
public WorkerType Type { get; init; }