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

Yeah, it definitely limits some of the interaction with the `Event` object but I think for the use cases this is intended for, that's likely ok? And where those are definitely needed then the sync `addEventListener()` option is still there.

`next()` and `toAsyncIterator()` work for me as names.

-- 
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-984150914

Received on Wednesday, 1 December 2021 23:27:06 UTC