- From: Marvin Hagemeister <notifications@github.com>
- Date: Fri, 14 Oct 2016 09:23:39 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 14 October 2016 16:24:34 UTC
marvinhagemeister commented on this pull request.
> + transform() {
+ },
+ flush() {
+ c.enqueue('x');
+ c.enqueue('y');
+ return new Promise(resolve => setTimeout(resolve, 10));
+ }
+ });
+
+ const reader = ts.readable.getReader();
+
+ const writer = ts.writable.getWriter();
+ writer.write('a');
+ writer.close();
+
+ reader.read().then(result1 => {
Awesome, that's much better 🎉
--
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:24:34 UTC