connection.js 294 B

123456789101112
  1. 'use strict';
  2. const BaseConnection = require('./base/connection.js');
  3. class Connection extends BaseConnection {
  4. promise(promiseImpl) {
  5. const PromiseConnection = require('./promise/connection.js');
  6. return new PromiseConnection(this, promiseImpl);
  7. }
  8. }
  9. module.exports = Connection;