1
0
mirror of https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git synced 2024-12-27 20:11:58 +00:00
UOJ-Luogu-RemoteJudge/luogu_remote_judger/utils/sleep.js

6 lines
129 B
JavaScript

export default function sleep(timeout) {
return new Promise(resolve => {
setTimeout(() => resolve(true), timeout);
});
}