Promisify modules (#6723)

* WIP promisify

* promisify psql

* ability to skip some keys

* dont promisify client object

* remove async

* clone entire module so it has all properties

* add shim for node 6

* ignore sessionStore as well

* ignore pool on psql
This commit is contained in:
Barış Soner Uşaklı
2018-08-31 11:04:42 -04:00
committed by GitHub
parent e882a091a1
commit 0519f84734
13 changed files with 60 additions and 1 deletions

View File

@@ -608,3 +608,5 @@ Notifications.merge = function (notifications, callback) {
callback(err, data.notifications);
});
};
Notifications.async = require('./promisify')(Notifications);