LockManagerSnapshot Class

The state of a lock manager returned by LockManager.Query (https://w3c.github.io/web-locks/#dictdef-lockmanagersnapshot).

public sealed class LockManagerSnapshot

Constructors

NameDescription
LockManagerSnapshot()

LockManagerSnapshot()

public LockManagerSnapshot()

No documentation is available.

Properties

NameDescription
HeldGets the held locks.
PendingGets the pending requests: the requests of a resource are in the order they were made.

Gets the held locks.

public IReadOnlyList<LockInfo>? Held { get; init; }

Gets the pending requests: the requests of a resource are in the order they were made.

public IReadOnlyList<LockInfo>? Pending { get; init; }