On Jun 23, 2014, at 2:23 PM, Domenic Denicola wrote:

> 
>> It seems to me that the best way to do this in ES6 would be to run the call 
>> backs as individual Jobs
> 
> I definitely think there should be an API for queuing jobs. (At least, as 
> long as jobs manifest as microtasks in Node.js and the browser; otherwise 
> they are not as useful.)
> 
> However, I don't think that completely solves the problem here, as jobs are 
> asynchronous, whereas event listeners are generally not.
> 

I was under the impression that DOM triggered event listeners ran in their own 
turn and that this was the model we would want to generally apply to ES events.

Allen


_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to