sleep(ms): Promise<void>
Defined in: src/modules/contract-interaction-utils.ts:91 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.