Home > @imqueue/rpc > RedisCache > del
RedisCache.del() method
Removes the value stored in the cache under the given key.
Signature:
del(key: string): Promise<boolean>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |
key to remove |
Returns:
Promise<boolean>
{Promise