Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / dist / cache / FileSystemJsonKeyValueCache.d.ts
Size: Mime:
import { KeyValueCacheType } from './typings';
export declare function fromCacheKeyToFileName(key: string): string;
export declare class FileSystemJsonKeyValueCache implements KeyValueCacheType {
    store: Map<string, string>;
    rehydrate(): Promise<void>;
    get(key: string): Promise<string | undefined>;
    /**
     * @todo debounce?
     */
    set(key: string, value: string, options?: {
        ttl?: number;
    }): Promise<void>;
    clear(shouldDeleteFiles?: boolean): Promise<void>;
}