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