lib/event.js
function (listener, eventPrefix) {
        var lastName;

        eventPrefix = eventPrefix || '';

        this.receive({
            test: function (val) {
                lastName = val;
                return true;
            }
        }, function (data) {
            listener.emit(eventPrefix + lastName, data);
        });
        return this;
    }
function (listener, eventPrefix) {
        var lastName;

        eventPrefix = eventPrefix || '';

        this.receive({
            test: function (val) {
                lastName = val;
                return true;
            }
        }, function (data) {
            listener.emit(eventPrefix + lastName, data);
        });
        return this;
    }
function ( listener , eventPrefix ) { var lastName ; eventPrefix = eventPrefix || '' ; this . receive ( { test : function ( val ) { lastName = val ; return true ; } } , function ( data ) { listener . emit ( eventPrefix + lastName , data ) ; } ) ; return this ; }
Emits received events from event stream on a normal event emitter with prefix
@param {events.EventEmitter} listener - Event Emitter
@param {string} [eventPrefix=""] - Prefix streamed events with this prefix on event emitter
@returns {EventStream}
Emits received events from event stream on a normal event emitter with prefix