- Preparing search index...
- The search index is not available
yatter
- throttle<F, T>(fun: F, delay: number, option?: ThrottleOption<T>): (<C>(this: C, ...args: Parameters<F>) => void)
-
Type Parameters
-
F extends AnyFunction<any>
-
T extends undefined | boolean = true
Parameters
-
fun: F
-
delay: number
-
option: ThrottleOption<T> = {}
Returns (<C>(this: C, ...args: Parameters<F>) => void)
-
- <C>(this: C, ...args: Parameters<F>): void
-
Parameters
-
this: C
-
Rest
...args: Parameters<F>
Returns void
节流
Returns