Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/velo/mod.ts>LFU#forEach

Performant Cache implementations for Deno. Supports LRU, LFU, ARC and other caching policies.
Go to Latest
method LFU.prototype.forEach
import { LFU } from "https://deno.land/x/velo@0.1.5/mod.ts";

Array like forEach, iterating over all entries in the cache

Parameters

callback: (item: { key: Key; value: V; }, index: number) => void

function to call on each item