Home > @imqueue/rpc > ICache > purge

ICache.purge() method

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

Signature:

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

Parameters

Parameter

Type

Description

keyMask

string

wildcard mask to match keys against

Returns:

Promise<boolean>

{Promise}