Creates a throttled function that only invokes func at most once per every wait milliseconds. Subsequent calls to the throttled function return the result of the last successful invocation.
func
wait
Returns the new throttled function.
The function to throttle.
The number of milliseconds to throttle invocations to.
Generated using TypeDoc
Creates a throttled function that only invokes
func
at most once per everywait
milliseconds. Subsequent calls to the throttled function return the result of the last successful invocation.Returns
Returns the new throttled function.