- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 08 Mar 2016 00:33:22 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 8 March 2016 08:33:51 UTC
> @@ -54,13 +54,39 @@ templatedRSTwoChunksClosed('ReadableStream (two chunks enqueued, then closed)',
> );
>
> templatedRSTwoChunksClosed('ReadableStream (two chunks enqueued async, then closed)',
> - () => new ReadableStream({
> - start(c) {
> - setTimeout(() => c.enqueue(chunks[0]), 10);
> - setTimeout(() => c.enqueue(chunks[1]), 20);
> - setTimeout(() => c.close(), 30);
> + () => {
Right. As this is expanded into various test cases, I chose to just make this stop enqueuing when cancel() is invoked.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/430/files#r55329417
Received on Tuesday, 8 March 2016 08:33:51 UTC