Re: [streams] Support reading bytes into buffers allocated by user code on platforms where only async read is available (#253)

Should we allow a readable stream to be cancelled while locked to a reader? I would lean toward "no," except: consider the case where you have set up a pipe chain (which locks the stream). How do you cancel that pipe chain upon e.g. the user navigating to a different page? (You could abort the ultimate destination stream, but we have the same question there: are you allowed to abort a writable stream that is locked to a probably-will-exist-soon exclusive writer?)

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/253#issuecomment-78431319

Received on Thursday, 12 March 2015 06:43:05 UTC