sleep(Defined in: src/modules/contract-interaction-utils.ts:91 Pauses the execution of an asynchronous function for a specified duration.ms
):Promise
<void
>
Parameters
Parameter | Type | Description |
---|---|---|
ms | number | The number of milliseconds to sleep before resolving the promise. |
Returns
Promise
<void
>
A promise that resolves after the specified duration.