Re: [whatwg/dom] Improving ergonomics of events with Observable (#544)

In terms of `first()`, @domenic's callback idea works, or it could return an observable:

```js
el.on('submit').first().subscribe(event => …);
```

It could be a thenable observable so it works with await? Maybe that's too hacky.

-- 
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/544#issuecomment-351961164

Received on Friday, 15 December 2017 09:46:42 UTC