Interface LockManager

    Available only in secure contexts.

    MDN Reference

    interface LockManager {
        query(): Promise<LockManagerSnapshot>;
        request(name: string, callback: LockGrantedCallback): Promise<any>;
        request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;
    }

    Methods

    Methods