Method PrefetchQuery
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
PrefetchQuery<T>(QueryOptions<T, T>)
FetchQuery<T>(QueryOptions<T, T>) without the data: fills the cache ahead of the component that reads it.
TanStack Query's prefetchQuery.
public VelvetTask PrefetchQuery<T>(QueryOptions<T, T> options)
Parameters
optionsQueryOptions<T, T>
Returns
- VelvetTask
A task that completes once the request has settled, whatever it did.
Type Parameters
T