import { __awaiter, __generator } from "tslib";
export function wait(delay) {
    if (delay === void 0) { delay = 500; }
    return __awaiter(this, void 0, void 0, function () {
        return __generator(this, function (_a) {
            return [2 /*return*/, new Promise(function (resolve) { return setTimeout(resolve, delay); })];
        });
    });
}
//# sourceMappingURL=wait.js.map