amis-rpc-design/node_modules/fork-ts-checker-webpack-plugin/lib/utils/async/wait.js
2023-10-07 19:42:30 +08:00

8 lines
215 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wait = void 0;
function wait(timeout) {
return new Promise((resolve) => setTimeout(resolve, timeout));
}
exports.wait = wait;