Skip to main content

Interface: CollectorOptions

structures/Collector.CollectorOptions

Options to be applied to the collector.

Hierarchy

Properties

dispose

Optional dispose: boolean

Whether to dispose data when it's deleted


idle

Optional idle: number

Max time allowed idle


max

Optional max: number

The maximum amount of items to collect


maxProcessed

Optional maxProcessed: number

The maximum amount of items to process


time

Optional time: number

Max time to wait for items in milliseconds