[googlevideo](../../../README.md) / [exports/utils](../README.md) / wait # Function: wait() > **wait**(`ms`): `Promise`\<`void`\> Defined in: [src/utils/shared.ts:124](https://github.com/LuanRT/googlevideo/blob/cc730b4dbadc5ae882d6aa28d716e442943577fa/src/utils/shared.ts#L124) Returns a promise that resolves after a specified number of milliseconds. ## Parameters ### ms `number` The number of milliseconds to wait. ## Returns `Promise`\<`void`\>