Options
All
  • Public
  • Public/Protected
  • All
Menu

Module structures/Collector

Index

Type aliases

CollectorFilter

CollectorFilter<T>: (...args: T) => boolean | Promise<boolean>

Type parameters

  • T: any[]

Type declaration

    • (...args: T): boolean | Promise<boolean>
    • Filter to be applied to the collector.

      Parameters

      • Rest ...args: T

        Any arguments received by the listener

      Returns boolean | Promise<boolean>