Function cachedDataFetcherWithExpiration
- cachedDataFetcherWithExpiration<T>(__namedParameters): Promise<T>
Parameters
- __namedParameters: {
expiration?: number;
fetcher: (() => Promise<T>);
storageKey: string;
}Optional
expiration?: number
fetcher: (() => Promise<T>)
- (): Promise<T>
Returns Promise<T>
storageKey: string
Returns Promise<T>