SweepOptions

export interface SweepOptions<Key, Value>
export interface SweepOptions<Key, Value>
Options for sweeping a single type of item from cache
NameConstraintsOptionalDefaultDescription
KeyNoNone
ValueNoNone
filter:GlobalSweepFilter<Key, Value>
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