Throttle a function with a given delay. Similar to lodash.
Throttling F for a delay of D means that F will be called no more than 1 time every D. In this implementation, F is called after D has passed since the previous non-throttled invocation
F
D
Function to throttle
Throttle delay
Throttle a function with a given delay. Similar to lodash.
Throttling
F
for a delay ofD
means thatF
will be called no more than 1 time everyD
. In this implementation,F
is called afterD
has passed since the previous non-throttled invocation