UNPKG

iter-tools-es

Version:
15 lines 888 B
import { Wrappable, IterableIterator } from '../../types/iterable'; declare function roundRobin<T>(...sources: Array<Wrappable<T>>): IterableIterator<T>; declare function roundRobin<T>(step: number, ...sources: Array<Wrappable<T>>): IterableIterator<T>; declare function roundRobin<T>(start: number, step: number, ...sources: Array<Wrappable<T>>): IterableIterator<T>; declare function roundRobin<T>(options: { start?: number; step?: number; }, ...sources: Array<Wrappable<T>>): IterableIterator<T>; declare function roundRobin(step: number): <T>(...sources: Array<Wrappable<T>>) => IterableIterator<T>; declare function roundRobin(start: number, step: number): <T>(...sources: Array<Wrappable<T>>) => IterableIterator<T>; declare function roundRobin(options: { start?: number; step?: number; }): <T>(...sources: Array<Wrappable<T>>) => IterableIterator<T>; export { roundRobin };