Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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





Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: