• Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the callback.

    Parameters

    • listener: EventAndListener

    Returns this