Re: [whatwg/dom] Consider adding Promise-based API for listerning event (#333)

@benjamingr the problem with async-iterators is that promise-based timing is not compatible with event dispatch. E.g., if you want to use `preventDefault()` (or `respondWith()` in service workers) you need to be able to do that "synchronously" and not in a microtask later on.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/333#issuecomment-254119526

Received on Monday, 17 October 2016 06:03:53 UTC