wait
This content is for the 3.4.2 version. Switch to the latest version for up-to-date documentation.
wait(
ms):Promise<void>
Wait for a specific amount of time (timeout)
Parameters
• ms: number
Time to wait in milliseconds
Returns
Promise<void>
A promise that resolves in x seconds