- From: Kevin Gibbons <notifications@github.com>
- Date: Wed, 30 Aug 2023 23:12:33 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 31 August 2023 06:12:40 UTC
What's the actual difference? The thing the OP proposes is > `EventTarget.once() returns a Promise that is resolved the next time the event is dispatched. which sounds exactly like `first` from the proposal: > `Observable#first()` returns a Promise that resolves when the first event is fired on an EventTarget -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1038#issuecomment-1700423864 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1038/1700423864@github.com>
Received on Thursday, 31 August 2023 06:12:40 UTC