Type alias CacheStore

CacheStore: {
    del(key) => void;
    flushAll() => void;
    get<T>(key) => undefined | T;
    set<T>(key, value) => void;
}

Type declaration

  • del:function
  • flushAll:function
  • get:function
    • get a cached key and change the stats

      Type Parameters

      • T

      Parameters

      • key: string

      Returns undefined | T

  • set:function
    • set a key in the cache

      Type Parameters

      • T

      Parameters

      • key: string
      • value: T

      Returns void

Generated using TypeDoc