import { ProximityMapBuilder } from "https://deno.land/x/rimbu@1.0.0/proximity/map-custom/index.ts";
Properties
addEntries: (entries: StreamSource<readonly [K, V]>) => boolean
build: () => ProximityMap<K, V>
buildMapValues: <V2>(mapFun: (value: V, key: K) => V2) => ProximityMap<K, V2>
forEach: (f: () => void, state?: TraverseState | undefined) => void
Applying get()
to the Builder does NOT apply the proximity algorithm - which would
be pointless at this construction stage; the internal, hash-based builder
is queried instead
removeKeys: <UK = K>(keys: StreamSource<RelatedTo<K, UK>>) => boolean