method ICacheStore.delete
ICacheStore.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 { type ICacheStore } from "cache-plugin/src/index.ts";