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.13
TRX 0.24
JST 0.032
BTC 82779.80
ETH 2077.09
USDT 1.00
SBD 0.63