code: function Client (config) {
    EventEmitter.call(this)
  
    /**
     * @name Client#config
     *
     * @summary A copy of the configuration with which the client was initialized.
     *
     * @type {Config}
     */
    this.config = new Config(config)
  
    /** @private */
    this.as_client = as.client(this.config)
  
    /** @private */
    this.connected = false
  
    /**
     * @name Client#captureStackTraces
     *
     * @summary Set to <code>true</code> to enable capturing of debug stacktraces for
     * every database command.
     *
     * @description The client will capture a stacktrace before each database
     * command is executed, instead of capturing the stacktrace only when an
     * error is raised. This generally results in much more useful stacktraces
     * that include stackframes from the calling application issuing the database
     * command.
     *
     * **Note:** Enabling this feature incurs a significant performance overhead for
     * every database command. It is recommended to leave this feature disabled
     * in production environments.
     *
     * By default, the client will set this flag to true, if the
     * <code>AEROSPIKE_DEBUG_STACKTRACES</code> environment variable is set (to
     * any value).
     *
     * @type {boolean}
     * @default <code>true</code>, if
     * <code>process.env.AEROSPIKE_DEBUG_STACKTRACES</code> is set;
     * <code>false</code> otherwise.
     */
    this.captureStackTraces = !!process.env.AEROSPIKE_DEBUG_STACKTRACES
  }
docs: @class Client
  @classdesc Aerospike client
  
  @summary Construct a new Aerospike client instance.
  
  @param {Config} config - Configuration used to initialize the client.