Creates a throttled function that only invokes the provided function at most once per every wait milliseconds.
The function to throttle.
The number of milliseconds to throttle invocations to.
A new throttled function.
Rest
Creates a throttled function that only invokes the provided function at most once per every wait milliseconds.