getValidCacheData
import { getValidCacheData } from "@hyper-fetch/react"
Description
Defined in helpers/use-tracked-state/use-tracked-state.utils.ts:33
Preview
getValidCacheData<T>(command, initialData, cacheData)
Parameters
Name | Details |
---|---|
command
|
|
initialData
|
|
cacheData
|
|
Returns
{
cacheTime: number;
clearKey: string;
data: ClientResponseType<Response, Error>;
details: CommandResponseDetails;
garbageCollection: number;
}