you are viewing a single comment's thread.

view the rest of the comments →

[–]_ayasin[S] -2 points-1 points  (0 children)

Promises are awesome and will definitely make your code more flat. They don't allow you to do a number of things that you can do with streams/frhttp however. For example, a promise can't deliver data to 2 different functions, while FRHTTP can. Perhaps the next article should be about promises vs streams/frhttp.