Struct QueryInfo
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
What a function form of RefetchIntervalFn,
RefetchOnWindowFocusFn or
RefetchOnReconnectFn is handed: the entry its query
reads, as it stands when the function is called. TanStack Query hands these functions its
Query; this holds the part of its state they read.
public readonly struct QueryInfo
Properties
- Data
The data the entry holds, the query function's data and not the result of Select; null while it holds none.
- IsFetching
Whether a request for the entry is in flight.
- QueryKey
The entry's key.
- Status
Whether the entry has data; see QueryStatus.