@carbon/ibm-products
Version:
Carbon for IBM Products
19 lines (13 loc) • 405 B
JavaScript
/**
* Copyright IBM Corp. 2020, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
// utility function for an async timeout
function wait(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
exports.default = wait;