kernl API
    Preparing search index...

    Interface LockManagerLike

    The part of the Web Locks API the sqlite cache uses.

    interface LockManagerLike {
        request(
            name: string,
            options: { ifAvailable: true },
            callback: (lock: unknown) => void | Promise<void>,
        ): Promise<unknown>;
    }
    Index
    • Parameters

      • name: string
      • options: { ifAvailable: true }
      • callback: (lock: unknown) => void | Promise<void>

      Returns Promise<unknown>