UNPKG
begrowth-analytics-utils
Version:
latest (1.0.5)
2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.4.6
0.4.5
0.0.10
0.0.9
0.0.8
0.0.4
0.0.3
0.0.2
0.0.1
Analytics utility functions used by 'analytics' module
begrowth-analytics-utils
/
types
/
throttle.d.ts
8 lines
(7 loc)
•
176 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** *
@template
{
Function
} F; *
@param
{
F
} func; *
@param
{
number
} wait; *
@return
{
F
}; */
export
default
function
throttle<F
extends
Function
>(
func
: F,
wait
:
number
): F;