Hi, thanks for this great polyfill first.
I want to close the WritableStream when the user cancels the download process, but it throws as title, is there any solution?
I'm using the hacky way currently.
if (evt.data.aborted) {
if (stream._writer) {
stream._writer.abort()
stream._writer = undefined
}
stream.abort()
}