Hacker News new | past | comments | ask | show | jobs | submit login

It looks like you are creating wrappers manually, that could be improved. Look into both overloads of [`Promise.promisify`](https://github.com/petkaantonov/bluebird/blob/master/API.md#...)



I did try to Promisify the pg library but it didn't seem to work, and just broke :(


Hmm. Can you post your code and description of the problem as an issue? https://github.com/petkaantonov/bluebird/issues





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: