Re: [whatwg/dom] once() and on() async utilities for EventTarget (Issue #1038)

There's also https://github.com/tc39/proposal-emitter that has a bunch of ideas. I quite like the simplicity of this proposal though, makes it more tractable. I do think there are cases where you would want `next()` and cancelability, e.g., for the `click` event.

-- 
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/1038#issuecomment-984378805

Received on Thursday, 2 December 2021 08:01:48 UTC