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.

Joe

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

> On Sat, Mar 28, 2015 at 1:14 PM, Boopathi Rajaa <legend.r...@gmail.com>
> wrote:
> > Why do we have both?
>
> Why do we have both values and arrays, not just the latter?
>
>
> --
> https://annevankesteren.nl/
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to