You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the example of "Piping a fetch response to StreamSaver". When I download small file like 1KB, the code below works and it can console log the message "done writing". But I download bigger file like 57.7KB, readableStream.pipeTo(fileStream) never finish and the http request is not finished all the time.
I'm not sure if the write operation is blocking the reception of the data stream?Or is it something else?
I follow the example of "Piping a fetch response to StreamSaver". When I download small file like 1KB, the code below works and it can console log the message "done writing". But I download bigger file like 57.7KB,
readableStream.pipeTo(fileStream)
never finish and the http request is not finished all the time.I'm not sure if the write operation is blocking the reception of the data stream?Or is it something else?
The code:
The text was updated successfully, but these errors were encountered: