Re: [streams] Initialize variables of ReadableStreamReader to the final value direc… (#373)

Right. Updated ReleaseReadableStreamReader. Now, the if in it is gone. Each of ErrorReadableStream and FinishClosingReadableStream has the corresponding reader updating code. This looks better in terms of simplicity of code path, but increased LoC. The initialization process now sets the variables to the final value instead of making it readable and then immediately transition to errored/closed. I like this but this also increased LoC.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/373#issuecomment-118725253

Received on Monday, 6 July 2015 05:27:20 UTC