mirror of
https://github.com/619dev/PaperPhone.git
synced 2026-07-03 23:24:38 +08:00
4 lines
113 B
JavaScript
4 lines
113 B
JavaScript
export const sleep = (seconds) => {
|
|
return new Promise((resolve) => setTimeout(resolve, seconds * 1000));
|
|
};
|