mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-06-01 13:36:12 +02:00
6 lines
109 B
JavaScript
6 lines
109 B
JavaScript
export function sleep(time) {
|
|
return new Promise((resolve, reject) => {
|
|
setTimeout(resolve, time);
|
|
});
|
|
}
|