wait
Script
v1
Fork
1
2
3
export
async
function
wait
(
ms
)
{
await
new
Promise
(
(
resolve
)
=>
setTimeout
(
resolve
,
ms
)
)
;
}