Re: [whatwg/streams] Can pipeTo() be synchronous? (Issue #1243)

I discussed this a bit with Adam in person, but for the record, my opinions are:

1. Yes; per the current spec either true or false is allowed
2. Probably no; allowing browsers to differ in this seems too much of a sharp edge for interop. It's too easy for web developers to write code which assumes either sync or async, and only test in one browser, and get bad results in the other.
3. Unclear.

So my vote would be for ensuring that writes do not occur synchronously, and are at least delayed by a queued microtask.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1243#issuecomment-1279922062
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1243/1279922062@github.com>

Received on Sunday, 16 October 2022 08:37:56 UTC