lazzy.ts
Version:
Fast and lightweight library for lazy operations with iterable objects.
4 lines • 400 B
TypeScript
import { PromiseValue } from "../common";
export declare function feed<T, R, R2, N, V>(into: Iterator<T, R2, N>, from: Iterator<V, R, T>): Generator<V, void, undefined>;
export declare function feedAsync<T, R, R2, N, V>(into: AsyncIterator<T, R2, N>, from: Iterator<V, R, PromiseValue<T>> | AsyncIterator<V, R, PromiseValue<T>>): AsyncGenerator<V, void, undefined>;
//# sourceMappingURL=feed.d.ts.map