RedisCache.purge() method

Purges all keys from the cache matching a given wildcard mask.

Signature:

purge(keyMask: string): Promise<boolean>;

Parameters

Parameter

Type

Description

keyMask

string

wildcard mask to match keys against

Returns:

Promise<boolean>

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