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

x/velo/src/caches/sc.ts>SC#forEach

Performant Cache implementations for Deno. Supports LRU, LFU, ARC and other caching policies.
Go to Latest
method SC.prototype.forEach
import { SC } from "https://deno.land/x/velo@0.1.5/src/caches/sc.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