RedisCache.get() method

Returns the value stored in the cache under a given key.

Signature:

get(key: string): Promise<any>;

Parameters

Parameter

Type

Description

key

string

key to read the value for

Returns:

Promise<any>

stored value, or undefined if not found

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.