Re: [whatwg/streams] Port some TransformStream tests to wpt (#531)

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