- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 22 Nov 2023 00:28:44 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 November 2023 08:28:49 UTC
No, it was aspirational. Initially we designed it such that (byte) streams would only emit Uint8Array to consumers. And later we adopted that for the other direction as well. Mainly for consistency I think, but also with some hope that would allow optimizations. Most things in the platform that accept buffers should indeed accept BufferSource, but they're not dealing with streams. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1724#issuecomment-1822312088 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1724/1822312088@github.com>
Received on Wednesday, 22 November 2023 08:28:49 UTC