Promises vs Streams

joe joeedh at
Sat Mar 28 16:02:31 UTC 2015

Maybe the confusion stems from how Promises were used in ES5?  ES5 doesn't
support generators, so people ended up adding a sort of psuedo-generator
API to their promise APIs, but in reality the concepts solve different
problems?  FYI, python seems to use promises and event streams together in
its async libraries.


On Sat, Mar 28, 2015 at 8:20 AM, Anne van Kesteren <annevk at> wrote:

> On Sat, Mar 28, 2015 at 1:14 PM, Boopathi Rajaa <legend.raju at>
> wrote:
> > Why do we have both?
> Why do we have both values and arrays, not just the latter?
> --
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list