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.21
TRX 0.13
JST 0.030
BTC 67321.51
ETH 3513.34
USDT 1.00
SBD 2.83