Interface CollectorOptions<Model>

The options for the collector.

Type Parameters

  • Model extends Base<any>

Hierarchy

  • CollectorOptions

Properties

dispose?: boolean

Whether to dispose data when it is deleted.

filter?: CollectorFilter<Model>

The filter to apply to the collector.

idle?: number

The time in milliseconds to wait before ending the collector due to it being idle.

max?: number

The max amount of items to collect.

time?: number

The time in milliseconds to wait before ending the collector.