- From: Takeshi Yoshino <notifications@github.com>
- Date: Wed, 01 Jul 2015 00:39:37 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 1 July 2015 07:40:10 UTC
> + const stream = controller._controlledReadableByteStream;
> +
> + if (typeof pullIntoFunction !== 'function') {
> + DestroyReadableByteStreamController(controller);
> + ErrorReadableByteStream(stream, new TypeError('pullInto property of an underlying byte source must be a function'));
> + return;
> + }
> +
> + assert(controller._pendingPullIntos.length > 0);
> + const pullIntoDescriptor = controller._pendingPullIntos[0];
> +
> + controller._callPullOrPullIntoLaterIfNeeded = false;
> + controller._insideUnderlyingByteSource = true;
> +
> + try {
> + pullIntoFunction.apply(source, [pullIntoDescriptor.buffer,
Changed to Uint8Array on e187dbf9d506fad2f9094f0710fe9045c3b82f00
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33654995
Received on Wednesday, 1 July 2015 07:40:10 UTC