UNPKG

@cloudflare/puppeteer

Version:

A high-level API to control headless Chrome over the DevTools Protocol

17 lines 481 B
import { disposeSymbol } from './disposable.js'; /** * @internal */ export declare class Mutex { #private; static Guard: { new (mutex: Mutex, onRelease?: () => void): { "__#33215@#mutex": Mutex; "__#33215@#onRelease"?: (() => void) | undefined; [Symbol.dispose](): void; }; }; acquire(onRelease?: () => void): Promise<InstanceType<typeof Mutex.Guard>>; release(): void; } //# sourceMappingURL=Mutex.d.ts.map