dist/emitter-umd.js
function listenMany(handler, isFunction, emitter, args) {
        var errors = [];

        if (isFunction) {
            try {
                handler.apply(emitter, args);
            } catch (error) {
                errors.push(error);
            }
        } else {
            var length = handler.length,
                listeners = handler.slice();

            var index = 0;

            for (; index < length; index += 1) {
                try {
                    listeners[index].apply(emitter, args);
                } catch (error) {
                    errors.push(error);
                }
            }
        }

        if (errors.length) {
            emitErrors(emitter, errors);
        }
    }
function listenMany(handler, isFunction, emitter, args) {
        var errors = [];

        if (isFunction) {
            try {
                handler.apply(emitter, args);
            } catch (error) {
                errors.push(error);
            }
        } else {
            var length = handler.length,
                listeners = handler.slice();

            var index = 0;

            for (; index < length; index += 1) {
                try {
                    listeners[index].apply(emitter, args);
                } catch (error) {
                    errors.push(error);
                }
            }
        }

        if (errors.length) {
            emitErrors(emitter, errors);
        }
    }
function listenMany ( handler , isFunction , emitter , args ) { var errors = [ ] ; if ( isFunction ) { try { handler . apply ( emitter , args ) ; } catch ( error ) { errors . push ( error ) ; } } else { var length = handler . length , listeners = handler . slice ( ) ; var index = 0 ; for ( ; index < length ; index += 1 ) { try { listeners [ index ] . apply ( emitter , args ) ; } catch ( error ) { errors . push ( error ) ; } } } if ( errors . length ) { emitErrors ( emitter , errors ) ; } }
Execute a listener with four or more arguments.
@function Emitter~listenMany
@param {EventListener|Array<EventListener>} handler One or more {@link EventListener|listeners} that will be executed on the `emitter`.
@param {external:boolean} isFunction Whether or not the `handler` is a {@link external:Function|function}.
@param {Emitter} emitter The emitter.
@param {external:Array} args Four or more arguments.
Execute a listener with four or more arguments .