@flagship.io/react-native-sdk
Version:
Flagship SDK for React Native
9 lines (8 loc) • 421 B
TypeScript
import { HitCacheDTO, IHitCacheImplementation } from '@flagship.io/react-sdk';
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>;
}