- From: Adam Rice <notifications@github.com>
- Date: Mon, 21 Aug 2017 07:40:58 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 August 2017 14:41:46 UTC
The TransformStream implementation currently looks at desiredSize to get an approximation of whether there is backpressure on the readable side or not. This is fragile and not really clean enough for standardisation. Add an internal "HasBackpressure" polymorphic method to the ReadableStream*Controller classes to permit TransformStream to determine whether there is backpressure directly. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/streams/pull/767 -- Commit Summary -- * Has HasBackpressure operation to ReadableStream controllers -- File Changes -- M index.bs (22) M reference-implementation/lib/readable-stream.js (12) M reference-implementation/lib/transform-stream.js (20) -- Patch Links -- https://github.com/whatwg/streams/pull/767.patch https://github.com/whatwg/streams/pull/767.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/767
Received on Monday, 21 August 2017 14:41:46 UTC