Skip to content

delay

지정된 시간 만큼 await 합니다.

ts
async function some() {
  await delay(1000);
  console.log('foo');
}