Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LockManager

Available only in secure contexts.

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

§Methods

§
query(): Promise<LockManagerSnapshot>
[src]
§
request(name: string, callback: LockGrantedCallback): Promise<any>
[src]
§
request(
name: string,
options: LockOptions,
): Promise<any>
[src]