1
0
mirror of https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git synced 2024-12-12 00:26:27 +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);
});
}