Re: intent to implement Streams

2015-06-19 Thread d
In addition to what Ben said, you may enjoy the FAQ https://github.com/whatwg/streams/blob/master/FAQ.md, especially "How do readable streams relate to observables or EventTarget?" and "How do readable streams related to async iterables?" ___ dev-platf

Re: intent to implement Streams

2015-06-19 Thread Benjamin Kelly
On Fri, Jun 19, 2015 at 3:03 PM, Benjamin Kelly wrote: > You could also use ReadableStream, but it doesn't look as similar to > observables: > > var reader = data.getStream().getReader(); > reader.read().then(function handleRead(value) { > handleNext(value); > return reader.read().the

Re: intent to implement Streams

2015-06-19 Thread Benjamin Kelly
On Fri, Jun 19, 2015 at 2:46 PM, David Rajchenbach-Teller < dtel...@mozilla.com> wrote: > Out of curiosity: can these streams be used as a base for reactive > programming? Or is it an entirely separate notion of streams? > I'm not an expert on reactive programming, but I believe its based around

Re: intent to implement Streams

2015-06-19 Thread David Rajchenbach-Teller
Out of curiosity: can these streams be used as a base for reactive programming? Or is it an entirely separate notion of streams? Cheers, David On 19/06/15 20:09, Benjamin Kelly wrote: > Also, I have setup a session on streams in the DOM room at Whistler: > > > http://juneworkweekwhistler2015.s

Re: intent to implement Streams

2015-06-19 Thread Benjamin Kelly
Also, I have setup a session on streams in the DOM room at Whistler: http://juneworkweekwhistler2015.sched.org/event/28ff926a768953ba39a44cd36598d7f7 Please stop by if you have questions or just want to talk about it. Thanks! Ben On Fri, Jun 19, 2015 at 2:00 PM, Benjamin Kelly wrote: > Stre