method TtlCache.prototype.clear
TtlCache.prototype.clear(): void

Empties the cache, for the tests' reset between cases.

Return Type

void

Usage

import { TtlCache } from "api/lib/ttl-cache.ts";