- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 11 Jun 2015 14:11:48 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 11 June 2015 21:12:18 UTC
> + }).catch(e => {
> + t.fail(e);
> + t.end();
> + });
> +});
> +
> +test('ReadableByteStream: read(), then respond()', t => {
> + let controller;
> +
> + const rbs = new ReadableByteStream({
> + start(c) {
> + controller = c;
> + },
> + pull() {
> + try {
> + controller.respond(1);
Oh gah I now realize that the second buffer argument is optional. Hmm, we'll need to work through the transfer story in a bit more detail, but we can leave that for later.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r32268770
Received on Thursday, 11 June 2015 21:12:18 UTC