Re: [whatwg/streams] Reject pending reads when releasing reader (#1168)

> Question: should pending reads be rejected with a TypeError or a AbortError DOMException?

I slightly lean TypeError? We use it for a lot of similar situations in this spec, and now that abort reasons are a thing, we don't use AbortError DOMException directly at all.

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

Message ID: <whatwg/streams/pull/1168/c1005156894@github.com>

Received on Tuesday, 4 January 2022 20:44:37 UTC