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