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

maybe for awaiting there could be a `.promise()` method?

```js
await el.on('click').subscribe().promise();
```
or even

```js
await el.on('click').promise();
```

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

Received on Friday, 15 December 2017 11:58:18 UTC