Re: [whatwg/streams] Factor out condition to check pending operation (#672)

> > WritableStreamIsReadyForWrites()
>
> This is better than my suggestion of putting Is... first, agreed.

I checked this again and found that this was not the right name for this function. It was returning whether or not the readyPromise is pending or not (not case includes rejected). So, "is ready" was misleading.

After some revision, I've removed this method.

-- 
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/672#issuecomment-284701922

Received on Tuesday, 7 March 2017 11:57:33 UTC