docs: function Agent_emit(name, body) {
    if (this._isDestroyed) throw new Error("destroyed")
    if (!_.isString(name)) throw new Error("name is not a string")
  
    var message = {
      type: "event",
      from: this.info.id,
      name: name,
      body: body
    }
  
    this._session._sendMessage(message)
  }