new BaseCollectionCache
src/collections/basecollection.ts:19new BaseCollectionCache<K, V>(options?: BaseCollectionOptions)Class Collections.BaseCollectionCache from detritus-client.
import { Collections } from 'detritus-client';
Collections.BaseCollectionCache;new BaseCollectionCache<K, V>(options?: BaseCollectionOptions)[iterator](): IterableIterator<[K, V]>clear(): voiddelete(cacheKey: K): booleandelete(cacheKey: K | null | undefined, key: K): booleanforEach(func: (v: V, k: K, map: Map<K, V>) => void, thisArg?: any): voidget(cacheKey: K): BaseCollection<K, V> | undefinedget(cacheKey: K | null | undefined, key: K): V | undefinedgetOrInsert(cacheKey: K, key: K, defaultValue: V): VgetOrInsertComputed(cacheKey: K, key: K, func: (key: K) => V): Vhas(cacheKey: K): booleanhas(cacheKey: K | null | undefined, key: K): booleaninsertCache(cacheKey: K): BaseCollection<K, V>keys(): IterableIterator<K>set(cacheKey: K, key: K, value: V): thisvalues(): IterableIterator<V>