method CacheService.prototype.clear
CacheService.prototype.clear(): Promise<void>

Delegates to the backend's clear(), which uses the construction-time prefix to scope the deletion. CacheService does not prepend a key here since clear() takes no key argument.

Return Type

Promise<void>

Usage

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