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 / InMemoryKeyValueCache.d.ts
Size: Mime:
import { KeyValueCacheType } from './typings';
export declare class KeyValueCache implements KeyValueCacheType {
    store: Map<string, string>;
    get(key: string): Promise<string | undefined>;
    set(key: string, value: string, options?: {
        ttl?: number;
    }): Promise<void>;
    clear(): Promise<void>;
    rehydrate(): Promise<void>;
}