Re: [whatwg/streams] pipeTo: Read fulfilled after shutdown started (Issue #1207)

The only option I see is to let the pipe *synchronously* react to the writable becoming errored. So instead of attaching a callback to the `writer.closed` promise (which always runs async), we would need some sort of "error callbacks" list (which we can run synchronously).

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

Message ID: <whatwg/streams/issues/1207/1013887669@github.com>

Received on Sunday, 16 January 2022 14:38:20 UTC