LimitedCollectionOptions

export interface LimitedCollectionOptions<K, V>
export interface LimitedCollectionOptions<K, V>
Options for defining the behavior of a LimitedCollection
NameConstraintsOptionalDefaultDescription
KNoNone
VNoNone
keepOverLimit?:(value: V, key: K, collection: LimitedCollection<K, V>) => boolean
A function, which is passed the value and key of an entry, ran to decide to keep an entry past the maximum size
maxSize?:number
The maximum size of the Collection