Skip to main content

Function: useCache

Const useCache<T>(url?, options?): [undefined | T, boolean, () => void]

Type parameters

NameType
Tany

Parameters

NameType
url?null | string
optionsCacheOptions<T>

Returns

[undefined | T, boolean, () => void]

Defined in

onekijs/packages/onekijs-framework/src/app/useCache.ts:8