- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 11 Jun 2015 13:34:50 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 11 June 2015 20:35:20 UTC
> + 'ReadableByteStreamController instances can only be created by the ReadableByteStream constructor'); > + } > + > + const pullFunction = underlyingByteSource['pull']; > + if (pullFunction !== undefined && typeof pullFunction !== 'function') { > + throw new TypeError('pull property of an underlying byte source must be a function'); > + } > + > + const pullIntoFunction = underlyingByteSource['pullInto']; > + if (pullIntoFunction !== undefined && typeof pullIntoFunction !== 'function') { > + throw new TypeError('pullInto property of an underlying byte source must be a function'); > + } > + > + this._controlledReadableByteStream = controlledReadableByteStream; > + > + this._underlyingByteSource = underlyingByteSource; Hmm, all these being on the controller seems a bit weird... we should probably be consistent between RBS and RS. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r32265033
Received on Thursday, 11 June 2015 20:35:20 UTC