You are viewing a single comment's thread from:

RE: Write a Steemit Web App: Part 9 - Retrieving Content with getDiscussionsBy*()

in #steemdev8 years ago

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.

Sort:  

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

Coin Marketplace

STEEM 0.15
TRX 0.25
JST 0.038
BTC 94962.28
ETH 1817.97
USDT 1.00
SBD 0.88