yao-node-client
Version:
A node client for yao application development
17 lines • 479 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.time = void 0;
const process_1 = require("./process");
exports.time = {
After(ms, process, ...args) {
this.Sleep(ms);
(0, process_1.Process)(process, ...args);
},
Sleep(delay) {
const start = new Date().getTime();
while (new Date().getTime() - start < delay) {
continue;
}
}
};
//# sourceMappingURL=time.js.map