interface CollectorOptions

export interface CollectorOptions<FilterArguments extends unknown[]>

Options to be applied to the collector.

Type Parameters

FilterArguments extends unknown[]

optional
dispose? : boolean

Whether to dispose data when it's deleted

optional
filter? : CollectorFilter<FilterArguments>

The filter applied to this collector

optional
idle? : number

How long to stop the collector after inactivity in milliseconds

optional
time? : number

How long to run the collector for in milliseconds