nodehotkey
Version:
Authotkey like macros for NodeJS
15 lines • 389 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/*
* waits synchronously
* @param milliseconds {number} time to wait
* @returns {void}
*/
function wait(milliseconds) {
var currTime = new Date().getTime();
while (new Date().getTime() < currTime + milliseconds) {
//
}
}
exports.wait = wait;
//# sourceMappingURL=Wait.js.map