[whatwg/streams] TransformStream: Make strategy arguments positional (#766)

Change the calling convention for the TransformStream constructor from
`(transformer, {readableStrategy, writableStrategy})` to `(transformer,
writableStrategy, readableStrategy)`. This makes the calling convention
closer to the other Streams API constructors, and emphasises the
writableStrategy parameter.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/766

-- Commit Summary --

  * TransformStream: Make strategy arguments positional

-- File Changes --

    M reference-implementation/lib/transform-stream.js (2)
    M reference-implementation/to-upstream-wpts/transform-streams/errors.js (8)

-- Patch Links --

https://github.com/whatwg/streams/pull/766.patch
https://github.com/whatwg/streams/pull/766.diff

-- 
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/766

Received on Monday, 21 August 2017 07:12:13 UTC