CollectorOptions

export interface CollectorOptions<FilterArguments extends unknown[]>
export interface CollectorOptions<FilterArguments extends unknown[]>
Options to be applied to the collector.
NameConstraintsOptionalDefaultDescription
FilterArgumentsunknown[]NoNone
dispose?:boolean
Whether to dispose data when it's deleted
filter?:CollectorFilter<FilterArguments>
The filter applied to this collector
idle?:number
How long to stop the collector after inactivity in milliseconds
time?:number
How long to run the collector for in milliseconds