@jupyterlab/coreutils
Version:
JupyterLab - Core Utilities
14 lines • 475 B
JavaScript
;
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
exports.sleep = sleep;
function sleep(milliseconds = 0, value) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(value);
}, milliseconds);
});
}
//# sourceMappingURL=testutils.js.map