method CacheService.prototype.delete
CacheService.prototype.delete(key: string): Promise<boolean>

Removes a cached value.

Parameters

key: string

Cache key

Return Type

Promise<boolean>

true if an entry was removed

Usage

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