johnycash
Version:
Easy distributed caching for Node.js
8 lines • 340 B
TypeScript
export declare class LocalCacheService {
private static readonly dictionary;
setCacheValue<T>(key: string, value: T, ttl: number): T;
getCacheValue<T>(key: string): T | undefined;
deleteCacheKey(key: string): void;
refreshCacheLocalTtl(key: string, ttl: number): void;
}
//# sourceMappingURL=local-cache.service.d.ts.map