- From: Marvin Hagemeister <notifications@github.com>
- Date: Fri, 14 Oct 2016 09:22:47 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 14 October 2016 16:23:35 UTC
marvinhagemeister commented on this pull request.
> + flushCalled = true;
+ return new Promise(); // never resolves
+ }
+ });
+
+ const writer = ts.writable.getWriter();
+ writer.write('a');
+ writer.close();
+ assert_false(flushCalled, 'closing the writable does not immediately call flush if writes are not finished');
+
+ let rsClosed = false;
+ ts.readable.getReader().closed.then(() => {
+ rsClosed = true;
+ });
+
+ setTimeout(() => {
Thanks for the tip! Didn't know that as well 👍
--
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/531
Received on Friday, 14 October 2016 16:23:35 UTC