UNPKG

@cspell/cspell-pipe

Version:
13 lines 516 B
/** * Allows an iterable to be shared by multiple consumers. * Each consumer takes from the iterable. * @param iterable - the iterable to share */ export declare function toDistributableIterableSync<T>(iterable: Iterable<T>): Iterable<T>; /** * Allows an iterable to be shared by multiple consumers. * Each consumer takes from the iterable. * @param iterable - the iterable to share */ export declare const toDistributableIterable: typeof toDistributableIterableSync; //# sourceMappingURL=distribute.d.ts.map