SweepOptions

export interface SweepOptions<K, V>
export interface SweepOptions<K, V>
Options for sweeping a single type of item from cache
NameConstraintsOptionalDefaultDescription
KNoNone
VNoNone
filter:GlobalSweepFilter<K, V>
The function used to determine the function passed to the sweep method This property is optional when the key is invites, messages, or threads and lifetime is set
interval:number
The interval (in seconds) at which to perform sweeping of the item