SharedWorkerOptions Class

https://html.spec.whatwg.org/multipage/workers.html#sharedworkeroptions

public sealed class SharedWorkerOptions : WorkerOptions
Inheritance
WorkerOptions SharedWorkerOptions

Constructors

NameDescription
SharedWorkerOptions()

SharedWorkerOptions()

public SharedWorkerOptions()

No documentation is available.

Properties

NameDescription
ExtendedLifetimeGets whether the worker outlives its last owner for a while (not supported: the shared workers live as long as their browsing context group).

ExtendedLifetime

Worker.cs

Gets whether the worker outlives its last owner for a while (not supported: the shared workers live as long as their browsing context group).

public bool ExtendedLifetime { get; init; }