Skip to content

Latest commit

 

History

History
66 lines (37 loc) · 1.12 KB

modules.md

File metadata and controls

66 lines (37 loc) · 1.12 KB

espera / Exports

espera

Table of contents

Enumerations

Functions

Functions

convertToMilliseconds

convertToMilliseconds(num, unit): number

Converts to milliseconds another time unit

export

Parameters

Name Type Description
num number The amount
unit Unit The unit

Returns

number

The amount in milliseconds

Defined in

index.ts:17


sleep

sleep(timeout, unit): Promise<void>

Stops execution for the desired time

export

Parameters

Name Type Description
timeout number Amount to wait
unit Unit Unit of the amount

Returns

Promise<void>

Defined in

index.ts:40