Skip to main content
Version: 2.x.x

getCacheData


import { getCacheData } from "@hyper-fetch/core"

Description

Defined in cache/cache.utils.ts:5

Preview

getCacheData<T>(previousResponse, response)

Parameters

NameDetails

previousResponse

Required

ExtractClientReturnType<T>

response

Required

ExtractClientReturnType<T>

Returns

[GenericDataType | null, GenericErrorType | null, number | null]