[whatwg/streams] Does pipeTo() wait for writes to complete even when there are no writes? (#945)

https://streams.spec.whatwg.org/commit-snapshots/51227372cc84846bdcf68312724c4cac6a4b9e58/#rs-pipeTo-shutdown-with-action

> Wait until every chunk that has been read has been written

I think it's ambiguous whether this waits when no chunks have been read or not. This is visible because the behaviour of a pipeTo() that starts when one or both sides is closed or errored is tightly specified, and because waiting is detectable via microtask execution.

-- 
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/945

Received on Tuesday, 24 July 2018 12:12:55 UTC