Skip to content

API Documentation / @pinia/colada / UseInfiniteQueryFnContext

Interface: UseInfiniteQueryFnContext<TData, TError, TDataInitial, TPageParam>

Extends

  • UseQueryFnContext<TData, TError, TDataInitial>

Type Parameters

TData

TData

TError

TError

TDataInitial

TDataInitial extends TData | undefined = undefined

TPageParam

TPageParam = unknown

Properties

entry

ts
entry: UseQueryEntry<TData, TError, TDataInitial>;

The query entry associated with the current query.

Inherited from

ts
UseQueryFnContext.entry

pageParam

ts
pageParam: TPageParam;

The page parameter for the current fetch.


signal

ts
signal: AbortSignal;

AbortSignal instance attached to the query call. If the call becomes outdated (e.g. due to a new call with the same key), the signal will be aborted.

Inherited from

ts
UseQueryFnContext.signal

Released under the MIT License.