- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 16 Jun 2015 00:42:55 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 16 June 2015 07:43:31 UTC
> + return CancelReadableByteStream(this._ownerReadableByteStream, reason); > + } > + > + read(view) { > + if (!IsReadableByteStreamByobReader(this)) { > + return Promise.reject( > + new TypeError( > + 'ReadableByteStreamByobReader.prototype.read can only be used on a ReadableByteStreamByobReader')); > + } > + > + if (view === undefined) { > + return Promise.reject(new TypeError('Valid view must be provided')); > + } > + > + const ctor = view.constructor; > + let elementSize = 1; Done https://github.com/whatwg/streams/commit/afeede5f436a7b1ddc162818090cfb78f8d744f3 --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r32497412
Received on Tuesday, 16 June 2015 07:43:31 UTC