UNPKG

@kovalenko/http-request-cache

Version:

TS decorator for caching logic of API calls.

9 lines (8 loc) 324 B
import { HttpCacheStorage } from './http-cache-storage'; import { Observable } from 'rxjs'; export declare class RequestTimes implements HttpCacheStorage { private storage; getItem(key: string): Observable<any> | undefined; setItem(key: string, item: Observable<any>): void; deleteItem(key: string): void; }