Generator Arrow Functions

Domenic Denicola domenic at domenicdenicola.com
Fri Nov 15 05:54:24 PST 2013


> On 15 Nov 2013, at 08:47, "Kevin Smith" <zenparsing at gmail.com> 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.


More information about the es-discuss mailing list