CollectionSweeper
@discordeno/utils • Docs
Documentation / @discordeno/utils / CollectionSweeper
Interface: CollectionSweeper<K, V>
Type Parameters
• K
• V
Properties
bot?
optional
bot:PlaceHolderBot
The bot object itself
Defined in
packages/utils/src/Collection.ts:165
filter()
filter: (
value
,key
, ...args
) =>boolean
The filter to determine whether an element should be deleted or not
Parameters
• value: V
• key: K
• ...args: any
[]
Returns
boolean
Defined in
packages/utils/src/Collection.ts:161
interval
interval:
number
The interval in which the sweeper should run