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

    Parameters

    • listener: EventAndListener

    Returns this