@nova-ui/bits
Version:
SolarWinds Nova Framework
19 lines (18 loc) • 697 B
TypeScript
import { ITransientCache } from "./public-api";
import { UtilService } from "./util.service";
import * as i0 from "@angular/core";
/** @ignore */
export declare class TransientCacheService implements ITransientCache {
private utilService;
private cache;
constructor(utilService: UtilService);
put: (key: string, value: any, lifetime: number) => Promise<void>;
remove: (key: string) => void;
get: (key: string) => any;
removeAll: () => void;
destroy: () => void;
entryCount: () => number;
size: () => number;
static ɵfac: i0.ɵɵFactoryDeclaration<TransientCacheService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TransientCacheService>;
}