Options
All
  • Public
  • Public/Protected
  • All
Menu

The options for the EventEmitter

Hierarchy

Index

Properties

Properties

Optional catcher

catcher: ICatcher

Can be provided to catch exceptions in listeners.

Optional maxListeners

maxListeners: undefined | number

The maximum number of listeners that are allowed on an event. Helps prevent memory leaks from not removing old listeners.