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

> @@ -2,8 +2,12 @@ import ReadableStream from './readable-stream';
>  import WritableStream from './writable-stream';
>  
>  export default class TransformStream {
> -  constructor({ transform, flush = (enqueue, close) => close(), writableStrategy, readableStrategy }) {
> -    if (typeof transform !== 'function') {
> +  constructor(transformer) {
> +    if (transformer.flush == null) {

=== undefined, please

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/356/files#r29802496

Received on Wednesday, 6 May 2015 21:10:36 UTC