function assertTxConfigIsEmpty(txConfig, connection, observer) {
  if (!txConfig.isEmpty()) {
    const error = newError('Driver is connected to the database that does not support transaction configuration. ' +
      'Please upgrade to neo4j 3.5.0 or later in order to use this functionality');

    // unsupported API was used, consider this a fatal error for the current connection
    connection._handleFatalError(error);
    observer.onError(error);
    throw error;
  }
}
/**
 * @param {TxConfig} txConfig the auto-commit transaction configuration.
 * @param {Connection} connection the connection.
 * @param {StreamObserver} observer the response observer.
 */
@param {TxConfig} txConfig the auto-commit transaction configuration.
@param {Connection} connection the connection.
@param {StreamObserver} observer the response observer.
@param { TxConfig } txConfig the auto - commit transaction configuration . @param { Connection } connection the connection . @param { StreamObserver } observer the response observer .
function assertTxConfigIsEmpty(txConfig, connection, observer) {
  if (!txConfig.isEmpty()) {
    const error = newError('Driver is connected to the database that does not support transaction configuration. ' +
      'Please upgrade to neo4j 3.5.0 or later in order to use this functionality');
    connection._handleFatalError(error);
    observer.onError(error);
    throw error;
  }
}
function assertTxConfigIsEmpty ( txConfig , connection , observer ) { if ( ! txConfig . isEmpty ( ) ) { const error = newError ( 'Driver is connected to the database that does not support transaction configuration. ' + 'Please upgrade to neo4j 3.5.0 or later in order to use this functionality' ) ; connection . _handleFatalError ( error ) ; observer . onError ( error ) ; throw error ; } }
@param {TxConfig} txConfig the auto-commit transaction configuration.
@param { TxConfig } txConfig the auto - commit transaction configuration .
// unsupported API was used, consider this a fatal error for the current connection