- From: Takeshi Yoshino <notifications@github.com>
- Date: Wed, 01 Jul 2015 07:02:13 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 1 July 2015 14:02:44 UTC
> + constructor(controlledReadableByteStream, underlyingByteSource) { > + if (IsReadableByteStream(controlledReadableByteStream) === false) { > + throw new TypeError('ReadableByteStreamController can only be constructed with a ReadableByteStream instance'); > + } > + > + if (controlledReadableByteStream._controller !== undefined) { > + throw new TypeError( > + 'ReadableByteStreamController instances can only be created by the ReadableByteStream constructor'); > + } > + > + this._controlledReadableByteStream = controlledReadableByteStream; > + > + this._underlyingByteSource = underlyingByteSource; > + > + this._considerReissueUnderlyingByteSourcePullOrPullInto = false; > + this._insideUnderlyingByteSource = false; Done 48a23cdb61248cfce57834503a184d54b8fe2980 --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r33680730
Received on Wednesday, 1 July 2015 14:02:44 UTC