You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
328 B
13 lines
328 B
|
2 months ago
|
'use strict';
|
||
|
|
|
||
|
|
const BasePoolConnection = require('./base/pool_connection.js');
|
||
|
|
|
||
|
|
class PoolConnection extends BasePoolConnection {
|
||
|
|
promise(promiseImpl) {
|
||
|
|
const PromisePoolConnection = require('./promise/pool_connection.js');
|
||
|
|
return new PromisePoolConnection(this, promiseImpl);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = PoolConnection;
|