CollectionOptions
@discordeno/bot • Docs
Documentation / @discordeno/bot / CollectionOptions
Interface: CollectionOptions<K, V>
Type Parameters
• K
• V
Properties
maxSize?
optional
maxSize:number
The maximum number of items allowed in the collection.
Defined in
packages/utils/dist/types/Collection.d.ts:47
sweeper?
optional
sweeper:CollectionSweeper
<K
,V
>
Handler to clean out the items in the collection every so often.
Defined in
packages/utils/dist/types/Collection.d.ts:45