lazzy.ts
Version:
Fast and lightweight library for lazy operations with iterable objects.
4 lines • 316 B
TypeScript
import { PromiseValue } from "../common";
export declare function chunk<T, R, N>(iterator: Iterator<T, R, N>, size: number): Generator<T[], R, N>;
export declare function chunkAsync<T, R, N>(iterator: AsyncIterator<T, R, N>, size: number): AsyncGenerator<PromiseValue<T>[], R, N>;
//# sourceMappingURL=chunk.d.ts.map