Re: [whatwg/streams] In pipeTo spec, the order of checking for shuttingDown disagrees with ref. impl. (#934)

@ricea Yes, that also makes a lot more sense to me. When implementing it, I actually wondered why I should re-initiate a check for pending writes every time shutDown is entered as that would start redundant work. Moving the check for shuttingDown to the top is logical, as otherwise it's just going wait multiple times for the same writes to finish.

-- 
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/issues/934#issuecomment-403904592

Received on Tuesday, 10 July 2018 17:33:02 UTC