mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2024-12-12 00:26:27 +00:00
6 lines
129 B
JavaScript
6 lines
129 B
JavaScript
export default function sleep(timeout) {
|
|
return new Promise(resolve => {
|
|
setTimeout(() => resolve(true), timeout);
|
|
});
|
|
}
|