Re: [whatwg/streams] Should consumers of readers/streams be notified why a stream was canceled? (#448)

Hmm I think I had confused myself. Few weeks later I'm a bit more familiar with the spec.

I was thinking ReadableStreams had a close promise, but its their readers that do. So what I was referring to was you could construct a ReadableStream, pass it off to something to consume it, and then wait for it to close before performing some other action. However it would not have been clear at that upper layer is the closure was abrupt or not.

---
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/streams/issues/448#issuecomment-223775410

Received on Saturday, 4 June 2016 20:04:01 UTC