jhusain / asyncgenerator

Asynchronous Generators for ES7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Observables and streams

calvinmetcalf opened this issue · comments

The scope of this proposal seems to overlap with https://github.com/whatwg/streams, with the Observable object acting like a transform stream. Are there plans for coordination with @domenic on this?

Observable doesn't support backpressure (except through some user protocols on top), so there's not too much overlap.

Judging from the comments in the example here
https://github.com/jhusain/asyncgenerator/blob/master/README.md#transpilation
it seems to consider it related.

On Thu, Mar 5, 2015, 5:07 PM Domenic Denicola notifications@github.com
wrote:

Observable doesn't support backpressure, so there's not too much overlap.


Reply to this email directly or view it on GitHub
#14 (comment)
.

the other thing that made me wonder about coordinations is that a readable stream would seem like a very good use case for an async iterator.