StrictdelayOn this pagedelaydelay() function Delays the value by given wait time Signature: declare function delay(wait: number): Promise<void>;declare function delay<T>(wait: number, value: T): Promise<T>; Example await delay(1000);console.log('hello'); // after 1000 milliseconds log hello Open Source Code