Method GetQueryState
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
GetQueryState<T>(QueryKey)
The state of the entry queryKey names, TanStack Query's getQueryState: null
when there is no such entry or it has gone unread past its garbage-collection time.
public QueryState<T>? GetQueryState<T>(QueryKey queryKey)
Parameters
queryKeyQueryKey
Returns
- QueryState<T>
Type Parameters
T
Exceptions
- InvalidOperationException
The entry holds data of another type.