- From: Ryan Dunckel <notifications@github.com>
- Date: Thu, 02 Apr 2015 19:08:12 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 3 April 2015 02:08:33 UTC
@domenic Thanks for the context! Intuitively, I would have thought that one would construct a reader and compose in a stream that the reader would operate on. i.e. : ```js const reader = new StreamReader(stream); reader.read(); // the reader would do something stream.lock() and stream.release() internally ``` it seems a little off for the stream to have to know how to dole out readers....and if it didn't, the issue of naming 'getReader' would be a moot point :smile: Take this with a grain of salt as I've just started to read your spec. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/308#issuecomment-89120537
Received on Friday, 3 April 2015 02:08:33 UTC