We have,
synchronous primitives:
values and list of values(arrays)
synchronous things that give out these primitives:
functions and generators
asynchronous primitives:
promises analogous to values
streams analogous to a list of values
Asynchronous things that give out these primitives:
Async
I feel this must have already been discussed but couldn't find any
discussion threads, just trying to understand them better.
The basic doubt is that I feel promises are more like streams, and that
streams are much more powerful than promises. With a promise you have a
value or an exception, and
http://jsbin.com/quvujecuro/5/edit?html,js,console
Is it the problem with implementation or am I doing something wrong here in
terms of philosophy that redeclaring should throw independent of try..catch
block around it ?
- Boopathi
___
es-discuss
3 matches
Mail list logo