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

FetchQueryOptions

interface FetchQueryOptions <TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> extends QueryOptions<TQueryFnData, TError, TData, TQueryKey> {
staleTime?: number;
}

§Type Parameters

§
TQueryFnData = unknown
[src]
§
TError = unknown
[src]
§
TData = TQueryFnData
[src]
§
TQueryKey extends QueryKey = QueryKey
[src]

§Extends

§
QueryOptions<TQueryFnData, TError, TData, TQueryKey>
[src]

§Properties

§
staleTime?: number
[src]

The time in milliseconds after data is considered stale. If the data is fresh it will be returned from the cache.