QueryObserver
open external class QueryObserver<TQueryFnData, TError, TData, TQueryData, TQueryKey : QueryKey>(client: QueryClient, options: QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, *>) : Subscribable<QueryObserverListener<TData, TError>> (source)
Inheritors
Constructors
Link copied to clipboard
constructor(client: QueryClient, options: QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, *>)
Functions
Link copied to clipboard
open fun fetchOptimistic(options: QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey, *>): Promise<QueryObserverResult<TData, TError>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getOptimisticResult(options: DefaultedQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>): QueryObserverResult<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: QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, 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