helpyourneighbour/node_modules/mysql2/lib/promise/pool_connection.js
BibaBot bfd432d094
Some checks are pending
Docker Test / test (push) Waiting to run
Add comprehensive tests for role middleware and fix package dependencies
2026-03-16 20:07:22 +00:00

19 lines
366 B
JavaScript

'use strict';
const PromiseConnection = require('./connection.js');
class PromisePoolConnection extends PromiseConnection {
constructor(connection, promiseImpl) {
super(connection, promiseImpl);
}
destroy() {
return this.connection.destroy();
}
async [Symbol.asyncDispose]() {
this.release();
}
}
module.exports = PromisePoolConnection;