ReadonlyCollection
ReadonlyCollection<
K,V> =Omit<Collection<K,V>,"set"|"setWithoutTTL"|"delete"|"clear"|"ensure"|"forEach"|"get"|"sweep"|"purge"> &ReadonlyMap<K,V>
Defined in: packages/collection/src/index.ts:117
A Collection seen read-only: every method that does not change it. Pass it
where you only read, so a function cannot add to or remove from the cache.
Type Parameters
Section titled “Type Parameters”K
V