A Lock implement using Web Lock API.

Implements

Constructors

Properties

count: number = 0
handle?: Promise<void>
locks: LockManager
name: string

Unique name of the lock.

resolve?: (() => void)

Type declaration

    • (): void
    • Returns void

shared: boolean

Whether the lock is shared.

Methods

Generated using TypeDoc