sleep(ms): Promise<void>

Pauses the execution of an asynchronous function for a specified duration.

Parameters

ParameterTypeDescription
msnumberThe number of milliseconds to sleep before resolving the promise.

Returns

Promise<void>

A promise that resolves after the specified duration.

Defined in

src/modules/contract-interaction-utils.ts:72