Type Alias InfiniteResultListController<T>

InfiniteResultListController: {
    documents: T[];
    error?: Error | null;
    fetchNextPage: () => void;
    hasNextPage: boolean;
    isFetching: boolean;
    isFetchingNextPage: boolean;
    loadedCount: number;
    processingTimeMs?: number;
    query?: string;
    totalHits: number;
}

Presentational contract for infinite-scroll list views.

Type Parameters

Type declaration

  • documents: T[]
  • Optionalerror?: Error | null
  • fetchNextPage: () => void
  • hasNextPage: boolean
  • isFetching: boolean
  • isFetchingNextPage: boolean
  • loadedCount: number
  • OptionalprocessingTimeMs?: number
  • Optionalquery?: string
  • totalHits: number