detritus

EmptyBaseCollectionclass

Class Collections.EmptyBaseCollection from detritus-client.

On this page
import { Collections } from 'detritus-client';

Collections.EmptyBaseCollection;
BaseCollectionMixin<K, V>BaseCollection<any, any>EmptyBaseCollection

Constructor

Methods

getOrder()

src/collections/basecollection.ts:435
getOrder(): Map<any, true>

The recency order (least recently used first), synced with the cache keys added before limit was set (or while it was Infinity) aren't tracked yet, so they count as the least recently used

Overrides BaseCollection.getOrder