@wppconnect/wa-js - v3.17.0
    Preparing search index...

    Variable setMaxListenersConst

    setMaxListeners: (n: number) => void = ...

    Type declaration

      • (n: number): void
      • By default EventEmitters will print a warning if more than 10 listeners are added to it. This is a useful default which helps finding memory leaks. Obviously not all Emitters should be limited to 10. This function allows that to be increased. Set to zero for unlimited.

        Parameters

        • n: number

        Returns void