UNPKG

nuxt-multi-cache

Version:

SSR route, component and data cache for Nuxt.js

19 lines (18 loc) 500 B
export declare class MultiCacheState { /** * Keys that are currently being revalidated. */ keysBeingRevalidated: Record<string, boolean>; /** * Add a key that is currently being revalidated. */ addKeyBeingRevalidated(key: string): void; /** * Remove a key from being revalidated. */ removeKeyBeingRevalidated(key: string): void; /** * Check if a key is currentl being revalidated. */ isBeingRevalidated(key: string): boolean; }