Type alias SetTimeoutFunc
SetTimeoutFunc: ((action, ms?, ...args) => NodeJS.Timeout)
Type declaration
- (action, ms?, ...args): NodeJS.Timeout
Parameters
action: ((...args) => void)
- (...args): void
Returns void
Optional
ms: number
Rest
...args: any[]
Returns NodeJS.Timeout
The structure of a
setTimeout
compatible function.