method MemoryCacheStorage.prototype.set
MemoryCacheStorage.prototype.set(
key: string,
): Promise<void>

Sets a cached entry

Parameters

key: string
  • Cache key
  • Entry to cache

Return Type

Promise<void>

Usage

import { MemoryCacheStorage } from ".";