sussy-util
Version:
Util package made by me
12 lines (11 loc) • 394 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const node_child_process_1 = require("node:child_process");
/**
* @param {number} milliseconds - The number of milliseconds to wait for the process to continue
*/
exports.default = (milliseconds) => {
if (isNaN(+milliseconds))
return;
(0, node_child_process_1.execSync)(`sleep ${milliseconds}`);
};