LockInfo Class

A held lock or a pending request of LockManagerSnapshot (https://w3c.github.io/web-locks/#dictdef-lockinfo).

public sealed class LockInfo

Constructors

NameDescription
LockInfo()

LockInfo()

public LockInfo()

No documentation is available.

Properties

NameDescription
ClientIdGets the id of the environment (the window or the worker) that holds or requests the lock: the id of its service worker client.
ModeGets the mode of the lock.
NameGets the name of the resource.

Gets the id of the environment (the window or the worker) that holds or requests the lock: the id of its service worker client.

public string? ClientId { get; init; }

Gets the mode of the lock.

public LockMode? Mode { get; init; }

Gets the name of the resource.

public string? Name { get; init; }