@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.
16 lines (15 loc) • 643 B
TypeScript
/**
* @module Collection
*/
import { type IAsyncCollection } from "../../../../collection/contracts/_module-exports.js";
import { type AsyncIterableValue } from "../../../../utilities/_module-exports.js";
/**
* @internal
*/
export declare class AsyncChunkIterable<TInput> implements AsyncIterable<IAsyncCollection<TInput>> {
private collection;
private chunkSize;
private makeCollection;
constructor(collection: IAsyncCollection<TInput>, chunkSize: number, makeCollection: <TInput>(iterable: AsyncIterableValue<TInput>) => IAsyncCollection<TInput>);
[Symbol.asyncIterator](): AsyncIterator<IAsyncCollection<TInput>>;
}