lazzy.ts
Version:
Fast and lightweight library for lazy operations with iterable objects.
4 lines • 425 B
TypeScript
import { ILazyCollection, ILazyCollectionAsync } from "../contracts";
export declare function lazyChunk<T, R, N>(iterator: Iterator<T, R, N>, size: number): Generator<ILazyCollection<T, void, unknown>, R, undefined>;
export declare function lazyChunkAsync<T, R, N>(iterator: AsyncIterator<T, R, N>, size: number): AsyncGenerator<ILazyCollectionAsync<T, void, undefined>, R, undefined>;
//# sourceMappingURL=lazyChunk.d.ts.map