Kod Javacript, który opóźnia się, na podstawie milisekund
function wait(timeout){
return new Promise(resolve=>setTimeout(resolve, timeout));
}
// in this line of code, change "<time>" with int of Milliseconds
await wait(<time>).then(()=>{});
The Arborist