Re: [streams] Byte stream update, including reference implementation (#361)

> +  controller._callPullOrPullIntoLaterIfNeeded = false;
> +  controller._insideUnderlyingByteSource = true;
> +
> +  try {
> +    pullFunction.apply(source);
> +  } catch (e) {
> +    DestoryReadableByteStreamController(controller);
> +    if (stream._state === 'readable') {
> +      ErrorReadableByteStream(stream, e);
> +    }
> +  }
> +
> +  controller._insideUnderlyingByteSource = false;
> +}
> +
> +function CallPullInto(controller) {

Prefixed f174dd56021e124aa055566a53bd95145a85f180

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33654096

Received on Wednesday, 1 July 2015 07:23:44 UTC