Wraps and debounces a function that can be called multiple times and only
executes the underlying function one
interval after the last invocation.
T - The resolved type of the underlying function. Defaults to any.
U - The rejected type of the underlying function. Defaults to any.
V - Arguments for the underlying function. Defaults to any.
Instantiate a rate limiter.
Arguments for the underlying function.
The rate limit in milliseconds.
A promise that resolves on each successful invocation.
The underlying poll instance used by the rate limiter.
Whether the rate limiter is disposed.
Disposes the rate limiter.
Invokes the function and only executes after rate limit has elapsed. Each invocation resets the timer.
Stop the function if it is mid-flight.
Generated using TypeDoc