- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 30 Jun 2015 01:50:13 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 30 June 2015 08:50:47 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; In ReadableStream these are called, respectively, pullAgain and pulling. Those names seems shorter and accurate enough to maybe use here. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r33552307
Received on Tuesday, 30 June 2015 08:50:47 UTC