Re: [whatwg/dom] Consider adding Promise-based API for listerning event (#333)

Although it only bears tangential relevance, Rust's [`futures` library](https://docs.rs/futures) is 1. 100% pull-based, and 2. requires you to use `stream.for_each` and connect the resulting future to an event loop to be able to react to changes. JS has a native event loop and is much more idiomatically push-based, which makes that kind of model much more awkward.

-- 
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/333#issuecomment-276820741

Received on Wednesday, 1 February 2017 23:46:25 UTC