UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

5 lines 361 B
import type { IteratorOrIterable, IterSource } from './types'; /** Creates a new iterable that yields values from each iterator in `args` in an alternating fashion. */ export declare function roundrobin<T extends IteratorOrIterable<any>[]>(...args: T): IterableIterator<IterSource<T[number]>>; export default roundrobin; //# sourceMappingURL=roundrobin.d.ts.map