- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 20 Oct 2021 02:44:38 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 20 October 2021 09:44:51 UTC
I think resolving with a `Uint8Array` ends up being problematic because of `Object.prototype.then`, see also https://github.com/web-platform-tests/wpt/blob/master/fetch/api/response/response-stream-with-broken-then.any.js. So unless I'm missing something, I think we have to either: 1. Endure "callback hell" in spec land. 2. Special case Infra types in promises somehow. -- 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/1178#issuecomment-947503985
Received on Wednesday, 20 October 2021 09:44:51 UTC