AniLink - v3.1.0
    Preparing search index...

    Interface LookAheadResult<TEntry>

    The ordered outcome of a fetchWithLookAhead traversal.

    interface LookAheadResult<TEntry> {
        count: number;
        responses: TEntry[];
        truncated: boolean;
    }

    Type Parameters

    • TEntry

      Raw response shape for one fetched page or chunk.

    Index
    count: number

    Number of entries fetched.

    responses: TEntry[]

    Responses ordered by entry number.

    truncated: boolean

    Whether the traversal stopped early, at the maxEntries guard or at a launch bound a received entry reported while that entry still reported more data, so a short read is not mistaken for a clean end.