On Nov 15, 2013, at 5:54 AM, Domenic Denicola <[email protected]> 
wrote:

>> On 15 Nov 2013, at 08:47, "Kevin Smith" <[email protected]> wrote:
>> 
>> From the examples I've seen so far in this discussion, it's likely that what 
>> is wanted isn't generator arrows, as much as syntactic support for asyc 
>> functions.  Such a function, would, among other things, insure that all 
>> exceptions are converted to rejections, even exceptions occurring "in the 
>> head" (as can occur with argument destructuring and default parameter 
>> evaluation).
> 
> +1. Although, the outer-this-capturing nature of arrow functions would 
> probably be nice for some async functions too.

It would be great to have await, but in the meantime having generator functions 
would help male async methods tolerable. Await is ES7 at the earliest, 
generator arrow functions could be in ES6.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to