UNPKG

@jupyterlab/coreutils

Version:
15 lines 498 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 = sleep; function sleep(milliseconds = 0, // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types value) { return new Promise((resolve, reject) => { setTimeout(() => { resolve(value); }, milliseconds); }); } //# sourceMappingURL=testutils.js.map