UNPKG

@jupyterlab/coreutils

Version:
16 lines 522 B
"use strict"; // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. Object.defineProperty(exports, "__esModule", { value: true }); exports.sleep = void 0; function sleep(milliseconds = 0, // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types value) { return new Promise((resolve, reject) => { setTimeout(() => { resolve(value); }, milliseconds); }); } exports.sleep = sleep; //# sourceMappingURL=testutils.js.map