API Documentation / @pinia/colada / UseInfiniteQueryReturn
Interface: UseInfiniteQueryReturn<TPage, TError> 
Extends 
Omit<UseQueryReturn<TPage,TError,TPage>,"refetch"|"refresh">
Type Parameters 
TPage 
TPage = unknown
TError 
TError = ErrorDefault
Properties 
asyncStatus 
asyncStatus: ComputedRef<AsyncStatus>;Status of the query. Becomes 'loading' while the query is being fetched, is 'idle' otherwise.
Inherited from 
Omit.asyncStatusdata 
data: ShallowRef<TPage>;The last successful data resolved by the query. Alias for state.value.data.
See 
Inherited from 
Omit.dataerror 
error: ShallowRef<null | TError>;The error rejected by the query. Alias for state.value.error.
See 
Inherited from 
Omit.errorisDelaying 
isDelaying: ShallowRef<boolean>;Returns whether the query is currently delaying its asyncStatus from becoming 'loading'. Requires the PiniaColadaDelay plugin.
Inherited from 
Omit.isDelayingisLoading 
isLoading: ShallowRef<boolean>;Returns whether the request is currently fetching data. Alias for asyncStatus.value === 'loading'
Inherited from 
Omit.isLoadingisPending 
isPending: ComputedRef<boolean>;Returns whether the request is still pending its first call. Alias for status.value === 'pending'
Inherited from 
Omit.isPendingisPlaceholderData 
isPlaceholderData: ComputedRef<boolean>;Returns whether the data is the placeholderData.
Inherited from 
Omit.isPlaceholderDataloadMore() 
loadMore: () => Promise<unknown>;Returns 
Promise<unknown>
state 
state: ComputedRef<DataState<TPage, TError, TPage>>;The state of the query. Contains its data, error, and status.
Inherited from 
Omit.statestatus 
status: ShallowRef<DataStateStatus>;The status of the query. Alias for state.value.status.
See 
Inherited from 
Omit.status