UNPKG

@flagship.io/js-sdk

Version:
10 lines (9 loc) 450 B
import { HitCacheDTO } from '../types'; import { IHitCacheImplementation } from './IHitCacheImplementation'; export declare const FS_HIT_PREFIX = "FS_DEFAULT_HIT_CACHE"; export declare class DefaultHitCache implements IHitCacheImplementation { cacheHit(hits: Record<string, HitCacheDTO>): Promise<void>; lookupHits(): Promise<Record<string, HitCacheDTO>>; flushHits(hitKeys: string[]): Promise<void>; flushAllHits(): Promise<void>; }