- Preparing search index...
- The search index is not available
bittydash
- throttle(func: ((arg0: unknown) => unknown), wait?: number): ((arg0: unknown) => unknown)
-
Parameters
-
func: ((arg0: unknown) => unknown)
-
- (arg0: unknown): unknown
-
Returns unknown
-
wait: number = 0
Returns ((arg0: unknown) => unknown)
-
- (arg0: unknown): unknown
-
Returns unknown
Creates a throttled function that only invokes func at most once per every wait milliseconds.
Returns