@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) • 579 B
TypeScript
/**
* @module Collection
*/
import { type PredicateInvokable, type ICollection } from "../../../../collection/contracts/_module-exports.js";
/**
* @internal
*/
export declare class ChunkWhileIterable<TInput> implements Iterable<ICollection<TInput>> {
private collection;
private predicateFn;
private makeCollection;
constructor(collection: ICollection<TInput>, predicateFn: PredicateInvokable<TInput, ICollection<TInput>>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
[Symbol.iterator](): Iterator<ICollection<TInput>>;
}