[whatwg/streams] make TransformStream respect backpressure (#550)

This should basically fix #330 / make it technically irrelevant, as now transform is only called from one place, technically. But it can now be triggered by pull() indirectly.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * add missing [[readableBackpressure]] slot
  * add logging to transformstreamsource.pull
  * fix inverted backpressure logic
  * prevent pull() from being called constantly
  * transformstream: convey backpressure to writable
  * respect backpressure in transformstreamsink.start
  * transformstream: remove [[chunk]] pending in limbo
  * Move code into transform abstract op
  * transformstream: rip out [[resolveWrite]]

-- File Changes --

    M reference-implementation/lib/transform-stream.js (135)
    M reference-implementation/test/transform-stream.js (12)

-- Patch Links --

https://github.com/whatwg/streams/pull/550.patch
https://github.com/whatwg/streams/pull/550.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/550

Received on Friday, 21 October 2016 05:27:41 UTC