- From: Yury <notifications@github.com>
- Date: Fri, 15 Dec 2017 11:57:49 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 15 December 2017 11:58:18 UTC
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