_makeConnection(name) {
    let config = this._getConnectionConfig(name);

    if (this.extensions.hasOwnProperty(name)) {
      return this.extensions[name](config);
    }

    if (!config.hasOwnProperty('driver')) {
      throw new Error(
        `The pub-sub connection [${name}] is missing a "driver" config var.`
      );
    }

    return this.factory.make(config.driver, config);
  }
/**
   * Create a connection to a PubSub adapter.
   *
   * @param {string} name
   * @return {module:@superbalist/js-pubsub.PubSubAdapterInterface}
   * @private
   * @throws Error if the connection config is missing a 'driver' attribute
   */
Create a connection to a PubSub adapter.
Create a connection to a PubSub adapter .
_makeConnection(name) {
    let config = this._getConnectionConfig(name);
    if (this.extensions.hasOwnProperty(name)) {
      return this.extensions[name](config);
    }
    if (!config.hasOwnProperty('driver')) {
      throw new Error(
        `The pub-sub connection [${name}] is missing a "driver" config var.`
      );
    }
    return this.factory.make(config.driver, config);
  }
_makeConnection ( name ) { let config = this . _getConnectionConfig ( name ) ; if ( this . extensions . hasOwnProperty ( name ) ) { return this . extensions [ name ] ( config ) ; } if ( ! config . hasOwnProperty ( 'driver' ) ) { throw new Error ( ` ${ name } ` ) ; } return this . factory . make ( config . driver , config ) ; }
Create a connection to a PubSub adapter.
Create a connection to a PubSub adapter .