amis-rpc-design/node_modules/fork-ts-checker-webpack-plugin/lib/utils/async/wait.js

8 lines
215 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
"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;