infinity-fetch - v1.5.0
    Preparing search index...

    Type Alias InfinityFetchPage<TResponse, TItem>

    A single page yielded by the streaming helpers

    type InfinityFetchPage<TResponse, TItem> = {
        items: TItem[];
        response: TResponse;
        pageIndex: number;
    }

    Type Parameters

    • TResponse
    • TItem
    Index
    items: TItem[]

    Items of this page, after mapItem, filterItem and dedupeBy have been applied

    response: TResponse

    The raw response returned by the fetcher

    pageIndex: number

    Zero-based index of this page