- From: Takeshi Yoshino <notifications@github.com>
- Date: Fri, 06 Feb 2015 01:04:05 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 6 February 2015 09:04:33 UTC
> @@ -118,19 +182,11 @@ export function CreateReadableStreamEnqueueFunction(stream) { > > export function CreateReadableStreamErrorFunction(stream) { > return e => { > - if (stream._state === 'waiting') { > - stream._resolveReadyPromise(undefined); > - } > if (stream._state === 'readable') { > stream._queue = []; Good point. Moved everything to ErrorReadableStream. BTW, I'm trying to have some border between the code that is specific to the ReadableStream subclass implementation and one that is common to ReadableStream and all of its subclasses. Do you have any ideas about that? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/277/files#r24229109
Received on Friday, 6 February 2015 09:04:33 UTC