Re: [streams] Make the context be the transform object when calling transform and flush (#356)

> +  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