@daiso-tech/core
Version:
The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.
15 lines (14 loc) • 513 B
TypeScript
/**
* @module Collection
*/
import { type ICollection } from "../../../../collection/contracts/_module-exports.js";
/**
* @internal
*/
export declare class ChunkIterable<TInput> implements Iterable<ICollection<TInput>> {
private collection;
private chunkSize;
private readonly makeCollection;
constructor(collection: ICollection<TInput>, chunkSize: number, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
[Symbol.iterator](): Iterator<ICollection<TInput>>;
}