I found an existing library that uses promises, however it doesn't use bluebird. The library functions don't come with all the extra features bluebird does like .map()
or .tap()
. How do I convert a "normal" or "non-bluebird" promise to a bluebird one, with all the extra features bluebird offers?
I tried wrapping the existing promise in Promise.promisify
and Promise.resolve
and neither seemed to work.