uptime-kuma/server/util.js

4 lines
88 B
JavaScript
Raw Normal View History

2021-06-25 13:55:49 +00:00
exports.sleep = (ms) => {
return new Promise(resolve => setTimeout(resolve, ms));
}