CollectorOptions

export interface CollectorOptions<T extends unknown[]>
export interface CollectorOptions<T extends unknown[]>
Options to be applied to the collector.
NameConstraintsOptionalDefaultDescription
Tunknown[]NoNone
dispose?:boolean
Whether to dispose data when it's deleted
filter?:CollectorFilter<T>
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