Re:Node.js v7.0.0
by nicoburns on Tuesday October 25, 2016 @03:08PM
(#12790727)
I actually think using your promise library's promisify methods are best practice. Reason: there are multiple promise implementations with different methods available (e.g. the Bluebird library extends the promise/A standard significantly), and thus if libraries included promises, a conversion from whichever promise library the library was using to the promise library which you are using would be necessary, and this would be considerably less efficient.
[ Parent
| on HN ]
There are no comments on this comment yet.