lib/event.js
function (name, data, origin, priority) {
    this.timestamp = Date.now();
    this.name = name;
    this.data = data;
    this.origin = origin;
    this.priority = priority || 1;
}
function (name, data, origin, priority) {
    this.timestamp = Date.now();
    this.name = name;
    this.data = data;
    this.origin = origin;
    this.priority = priority || 1;
}
function ( name , data , origin , priority ) { this . timestamp = Date . now ( ) ; this . name = name ; this . data = data ; this . origin = origin ; this . priority = priority || 1 ; }
Events piping through streams
@author Arne Schubert <atd.schubert@gmail.com>
@param {String} name - name of the event
@param {*} data - On event binded data
@param {EventStream} origin - EventStream that sends the data
@param {number} [priority=0] - Priority of this message
@constructor
@memberOf streamLib
@augments streamLib.Pipe
Events piping through streams