Protected countPrivate Optional handleProtected Readonly locksReadonly nameUnique name of the lock.
Protected Optional resolveReadonly sharedWhether the lock is shared.
Waits for a lock to be acquired.
Optional options: AbortOptionsProtected getProtected requestTried to acquire a lock. Returns true if success, false otherwise.
Generated using TypeDoc
A Lock implement using Web Lock API.