Variables
Const DAY
DAY: number = ...
Const FRAME
FRAME: number = ...
Const HOUR
HOUR: number = ...
Const MINUTE
MINUTE: number = ...
Const SECOND
SECOND: 1000 = 1000
Functions
delay
- delay(ms: number): Promise<void>
-
Parameters
Returns Promise<void>
retry
- retry(callback: () => Promise<unknown> | unknown, __namedParameters: { sleepTimeout?: number; times?: number }): Promise<void>
-
Parameters
-
callback: () => Promise<unknown> | unknown
-
- (): Promise<unknown> | unknown
-
Returns Promise<unknown> | unknown
-
__namedParameters: { sleepTimeout?: number; times?: number }
-
Optional sleepTimeout?: number
-
Optional times?: number
Returns Promise<void>
Wait for a duration of time (in ms)