Interface CollectorEvents<T, V>

Type Parameters

Hierarchy

  • CollectorEvents

Methods

  • Emitted whenever something is collected.

    Parameters

    • collected: T

      The element collected.

    Returns any

  • Emitted whenever something is disposed.

    Parameters

    • disposed: any

      The element disposed.

    Returns any

  • Emitted whenever the collector stops collecting.

    Parameters

    • collected: T[]

      The data collected by the collector.

    • reason: V

      The reason the collector has ended.

    Returns any

  • Emitted whenever something is ignored.

    Parameters

    • ignored: T

      The element ignored.

    Returns any

Generated using TypeDoc