"use strict";
/**
 * Promise工具模块
 * @date 2022-03
 * @author 何华东
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.PromiseUtils = void 0;
/**
 * Promise工具
 */
var PromiseUtils = /** @class */ (function () {
    function PromiseUtils() {
    }
    /**
     * 延迟
     */
    PromiseUtils.delay = function (ms) {
        return new Promise(function (resolve) {
            setTimeout(resolve, ms);
        });
    };
    return PromiseUtils;
}());
exports.PromiseUtils = PromiseUtils;
exports.default = PromiseUtils;
//# sourceMappingURL=PromiseUtils.js.map