You are viewing a single comment's thread from:

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

in #steemdev7 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.16
TRX 0.15
JST 0.028
BTC 55758.52
ETH 2348.78
USDT 1.00
SBD 2.31