import { FIFOMap } from "https://deno.land/x/cache_mapset@1.0.0/fifo.ts";
Map
with an upper limit, objects like. When the upper limit is reached, replaces the entry with FIFO algorithm.
Examples
Example 1
Example 1
import { FIFOMap } from "https://deno.land/x/cache_mapset@$VERSION/fifo.ts";
declare const maxNumOfEntries: number;
const map = new FIFOMap(maxNumOfEntries);