UNPKG

puppeteer-core

Version:

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

18 lines 415 B
"use strict"; /** * @license * Copyright 2024 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.createIncrementalIdGenerator = createIncrementalIdGenerator; /** * @internal */ function createIncrementalIdGenerator() { let id = 0; return () => { return ++id; }; } //# sourceMappingURL=incremental-id-generator.js.map