- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 06 May 2015 14:11:06 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 6 May 2015 21:11:32 UTC
> + const ts = new TransformStream({
> + prefix: '-prefix',
> +
> + transform(chunk, enqueue, done) {
> + enqueue(chunk + this.prefix);
> + done();
> + },
> +
> + flush(enqueue, close) {
> + close();
> + }
> + });
> +
> + ts.writable.write('a');
> + ts.writable.close();
> + ts.readable.getReader().read().then((result) => {
No extra parens around result
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/356/files#r29802576
Received on Wednesday, 6 May 2015 21:11:32 UTC