Promises vs Streams
joeedh at gmail.com
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 annevk.nl> wrote:
> On Sat, Mar 28, 2015 at 1:14 PM, Boopathi Rajaa <legend.raju at gmail.com>
> > Why do we have both?
> Why do we have both values and arrays, not just the latter?
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss