delayed<T>(iterable: Iterable<T>,delay: number,): AsyncGenerator<T>
Asynchronously iterates over the given iterable, yielding each item with a constant delay between iterations.
An async generator that yields each item from the iterable with a random delay.
delayed<T>(): AsyncGenerator<T>
Asynchronously iterates over the given iterable, yielding each item with a random delay between iterations.
An async generator that yields each item from the iterable with a random delay.