Interface ICollectorEvent<K, V>

Interface representing the events for the collector.

interface ICollectorEvent<K, V> {
    collect: ((data: V, collect: Collection<K, V>) => void);
    dispose: ((data: V, collect: Collection<K, V>) => void);
    end: ((collected: Collection<K, V>, reason: string) => void);
    ignore: ((data: V) => void);
}

Type Parameters

  • K
  • V

Hierarchy (view full)

Properties

collect: ((data: V, collect: Collection<K, V>) => void)
dispose: ((data: V, collect: Collection<K, V>) => void)
end: ((collected: Collection<K, V>, reason: string) => void)
ignore: ((data: V) => void)