uptime-kuma/server/util.js
2021-06-25 21:55:49 +08:00

4 lines
88 B
JavaScript

exports.sleep = (ms) => {
return new Promise(resolve => setTimeout(resolve, ms));
}