Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryState

interface QueryState <TData = unknown, TError = unknown> {
data: TData | undefined;
dataUpdateCount: number;
dataUpdatedAt: number;
error: TError | null;
errorUpdateCount: number;
errorUpdatedAt: number;
fetchFailureCount: number;
fetchFailureReason: TError | null;
fetchMeta: any;
fetchStatus: FetchStatus;
isInvalidated: boolean;
status: QueryStatus;
}

§Type Parameters

§
TData = unknown
[src]
§
TError = unknown
[src]

§Properties

§
data: TData | undefined
[src]
§
dataUpdateCount: number
[src]
§
dataUpdatedAt: number
[src]
§
error: TError | null
[src]
§
errorUpdateCount: number
[src]
§
errorUpdatedAt: number
[src]
§
fetchFailureCount: number
[src]
§
fetchFailureReason: TError | null
[src]
§
fetchMeta: any
[src]
§
fetchStatus: FetchStatus
[src]
§
isInvalidated: boolean
[src]