Re: [whatwg/streams] Factor out readyPromiseIsPending calculation (#671)

In addition to this change, I'm planning to attempt to add a variable to the WritableStream indicating current backpressure status and remove the WritableStreamDefaultControllerGetBackpressure() call to evaluate current backpressure.

Probing the controller every time also has some benefit e.g. reducing variables, but I guess code (spec text) will be reduced more if we do so.

-- 
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/671#issuecomment-275161257

Received on Wednesday, 25 January 2017 16:45:17 UTC