whole_func_string: function Emitter(opts) {
    Transform.call(this);
    this._writableState.objectMode = true;
    this._readableState.objectMode = true;
    opts = opts || {};
    // emit a fixed event name
    // rather than the default type
    this.name = opts.name;
  
    this.passthrough = opts.passthrough;
  }
func_code_string: function Emitter(opts) {
    Transform.call(this);
    this._writableState.objectMode = true;
    this._readableState.objectMode = true;
    opts = opts || {};
    // emit a fixed event name
    // rather than the default type
    this.name = opts.name;
  
    this.passthrough = opts.passthrough;
  }
func_documentation_string: Emits the output of the decoder as named events.