Functions
Const callSetTimeout
- callSetTimeout(setTimeout: (fn: () => void, ms: number) => void, delay: number): Promise<void>
-
Parameters
-
setTimeout: (fn: () => void, ms: number) => void
-
- (fn: () => void, ms: number): void
-
Parameters
-
fn: () => void
-
ms: number
Returns void
-
delay: number
Returns Promise<void>
Const simpleDelay
- simpleDelay(delay: number): Promise<void>
-
Parameters
Returns Promise<void>
Create a promise that resolves after a certain amount of time