method NoopStore.prototype.get
NoopStore.prototype.get<T>(_key: string): Promise<T | null>

Read a value. The key is already-prefixed by CacheService.

Type Parameters

Expected value type

Parameters

_key: string

Return Type

Promise<T | null>

The deserialized value, or null when absent/expired

Usage

import { NoopStore } from "cache-plugin/src/index.ts";