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

Again, just bikeshedding here, but we could flip this around a bit and hang the new API off `Event` instead.

```js
const event = await Event.from(target, 'foo');
```


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

Message ID: <whatwg/dom/issues/1038/996148208@github.com>

Received on Thursday, 16 December 2021 19:54:29 UTC