Interface WebLockOptions

Options for creating a WebLock.

interface WebLockOptions {
    locks?: LockManager;
    name?: string;
    shared?: boolean;
}

Properties

Properties

locks?: LockManager

Instance of LockManager.

name?: string

Unique name of the lock. Defaults to lock.

shared?: boolean

Whether the lock is shared. Defaults to false.

Generated using TypeDoc