Throttles the input iterable, only yielding elements at most every ms milliseconds. Elements that are not yielded are discarded.
Returns an async iterable that yields elements from the input iterable, but throttled.
Returns
A function that accepts an input iterable and returns a throttled async iterable.
Throttles the input iterable, only yielding elements at most every ms milliseconds. Elements that are not yielded are discarded. Returns an async iterable that yields elements from the input iterable, but throttled.
Returns
A function that accepts an input iterable and returns a throttled async iterable.
Example