Interface CollectorOptions<T>

Type Parameters

  • T

Hierarchy

  • CollectorOptions

Properties

Methods

Properties

dispose?: boolean

Whether to dispose data when it's deleted.

idle?: number

How long to stop the collector after inactivity in milliseconds.

max?: number

The maximum total amount of data to collect.

time?: number

How long to run the collector for in milliseconds.

Methods

  • The filter applied to this collector.

    Parameters

    • colleted: T

      The collected element to filter.

    Returns boolean | Promise<boolean>

Generated using TypeDoc