- From: Adam Rice <notifications@github.com>
- Date: Mon, 12 Jul 2021 12:09:38 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 12 July 2021 19:09:51 UTC
An interesting use of `.blob()` that I hadn't thought of is to efficiently handle streams that would use excessive amounts of memory to load completely, and so would ideally be stored on disk. The platform doesn't provide a primitive to stream data into a Blob, but it appears implementations do have this as part of their implementation of the `blob()` method on `Response`. See https://stackoverflow.com/questions/67362823/progress-for-a-fetch-blob-javascript/67364010#67364010 for an example we could make much cleaner. -- 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/1019#issuecomment-878524620
Received on Monday, 12 July 2021 19:09:51 UTC