UNPKG

@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) 715 B
/** * @module Collection */ import { type AsyncPredicate, type IAsyncCollection } from "../../../../collection/contracts/_module-exports.js"; import { type AsyncIterableValue } from "../../../../utilities/_module-exports.js"; /** * @internal */ export declare class AsyncChunkWhileIterable<TInput> implements AsyncIterable<IAsyncCollection<TInput>> { private collection; private predicateFn; private makeCollection; constructor(collection: IAsyncCollection<TInput>, predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>, makeCollection: <TInput>(iterable: AsyncIterableValue<TInput>) => IAsyncCollection<TInput>); [Symbol.asyncIterator](): AsyncIterator<IAsyncCollection<TInput>>; }