packages/ddp-client/stub_stream.js
function (name, callback) {
    var self = this;

    if (!self.callbacks[name])
      self.callbacks[name] = [callback];
    else
      self.callbacks[name].push(callback);
  }
function (name, callback) {
    var self = this;

    if (!self.callbacks[name])
      self.callbacks[name] = [callback];
    else
      self.callbacks[name].push(callback);
  }
function ( name , callback ) { var self = this ; if ( ! self . callbacks [ name ] ) self . callbacks [ name ] = [ callback ] ; else self . callbacks [ name ] . push ( callback ) ; }
Methods from Stream
Methods from Stream