- Debounce<TARGET>(time: ((target: TARGET) => number), initial?: boolean, returnIfCancelled?: ((...args: any[]) => any)): ((target: TARGET, key: any, descriptor: any) => void)
-
Parameters
-
time: ((target: TARGET) => number)
-
- (target: TARGET): number
-
Returns number
-
Optional
initial: boolean
-
Optional
returnIfCancelled: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns ((target: TARGET, key: any, descriptor: any) => void)
-
- (target: TARGET, key: any, descriptor: any): void
-
Parameters
-
target: TARGET
-
key: any
-
descriptor: any
Returns void
- Debounce(time: number, initial?: boolean, returnIfCancelled?: ((...args: any[]) => any)): ((target: any, key: any, descriptor: any) => void)
-
Parameters
-
time: number
-
Optional
initial: boolean
-
Optional
returnIfCancelled: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns ((target: any, key: any, descriptor: any) => void)
-
- (target: any, key: any, descriptor: any): void
-
Parameters
-
target: any
-
key: any
-
descriptor: any
Returns void