UNPKG

@ngx-toolkit/cache

Version:

Angular cache with Universal support

11 lines (10 loc) 350 B
import { CacheManager } from './cache.manager'; import { Cache } from './cache.model'; export declare class SimpleCacheManager implements CacheManager { private cacheMap; constructor(caches?: Cache[]); getCacheNames(): string[]; getCache(name: string): Cache; addCache(cache: Cache): void; setCaches(caches: Cache[]): void; }