You are viewing a single comment's thread from:
RE: Write a Steemit Web App: Part 9 - Retrieving Content with getDiscussionsBy*()
Ah, I never realized *Async is just a convention for Bluebird promises. I might as well start using that too then. It makes sense that it's nice to see at a glance whether a method returns a promise or not, just like the $ suffix for Observables that many people use.
It's at least a convention for Bluebird's
Promise.promisifyAll()
feature to turn functions with Node-style callbacks into promises:http://bluebirdjs.com/docs/api/promise.promisifyall.html