Re: [streams] Merge ReadableByteStream into ReadableStream (#430)

>        },
>  
>        cancel() {
>          return fs.close(fd);
> -      }
> +      },
> +
> +      autoAllocateChunkSize: DEFAULT_CHUNK_SIZE
>      });

I changed the comment from

```js
          // Note: you can consolidate some of this code using the auto-allocation feature.
          // See "A readable byte stream with an underlying pull source".
          // Here we manually do allocation for example purposes.
```

to

```js
          // Since onreadable can happen even when there's no pending BYOB
          // requests, we need to handle both cases.
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/430/files/0562267ac9415713151bf0a34ae090c0dfb37c1a..4ad2edc8af0c82da98914eea6bd5c899618d8ec5#r57469915

Received on Friday, 25 March 2016 17:52:50 UTC