method MemoryCacheStorage.prototype.get
MemoryCacheStorage.prototype.get(key: string): Promise<SourceCacheEntry | null>

Gets a cached entry by key

Parameters

key: string
  • Cache key

Return Type

Promise<SourceCacheEntry | null>

Cached entry or null if not found

Usage

import { MemoryCacheStorage } from ".";