InfiniteQueryObserver
open external class InfiniteQueryObserver<TQueryFnData, TError, TData, TQueryData, TQueryKey : QueryKey, TPageParam>(client: QueryClient, options: InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, TPageParam>) : QueryObserver<TQueryFnData, TError, TData, InfiniteData<TQueryData, TPageParam>, TQueryKey> (source)
Constructors
Link copied to clipboard
constructor(client: QueryClient, options: InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, TPageParam>)
Properties
Link copied to clipboard
Link copied to clipboard
open var options: QueryObserverOptions<TQueryFnData, TError, TData, InfiniteData<TQueryData, TPageParam>, TQueryKey, *>
Functions
Link copied to clipboard
open fun fetchNextPage(options: FetchNextPageOptions = definedExternally): Promise<InfiniteQueryObserverResult<TData, TError>>
Link copied to clipboard
open fun fetchOptimistic(options: QueryObserverOptions<TQueryFnData, TError, TData, InfiniteData<TQueryData, TPageParam>, TQueryKey, *>): Promise<QueryObserverResult<TData, TError>>
Link copied to clipboard
open fun fetchPreviousPage(options: FetchPreviousPageOptions = definedExternally): Promise<InfiniteQueryObserverResult<TData, TError>>
Link copied to clipboard
open fun getCurrentQuery(): Query<TQueryFnData, TError, InfiniteData<TQueryData, TPageParam>, TQueryKey>
Link copied to clipboard
Link copied to clipboard
open override fun getOptimisticResult(options: DefaultedInfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, TPageParam>): InfiniteQueryObserverResult<TData, TError>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun refetch(options: RefetchOptions = definedExternally): Promise<QueryObserverResult<TData, TError>>
Link copied to clipboard
open fun setOptions(options: InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, TPageParam>, notifyOptions: NotifyOptions = definedExternally)
open fun setOptions(options: QueryObserverOptions<TQueryFnData, TError, TData, InfiniteData<TQueryData, TPageParam>, TQueryKey, *>, notifyOptions: NotifyOptions = definedExternally)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun trackResult(result: QueryObserverResult<TData, TError>, onPropTracked: (key: String) -> Unit = definedExternally): QueryObserverResult<TData, TError>
Link copied to clipboard