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
Could you give #2562 a try and see if there is any use cases I missed?
I mainly tested the following case:
constabort=newAbortController();constres=awaitfetch("someurl",{signal: abort.signal})constreader=res.body.getReader();reader.read()// ensure we got some dataabort.abort()// abort the requstreader.read()// fails as the stream is closed
Once
fetch_read_body
is fired, aborting the fetch will stop workinghttps://github.com/tauri-apps/tauri-plugin-http/blob/918e02820d7963030993e902f808ccc7995bd509/guest-js/index.ts#L256
The text was updated successfully, but these errors were encountered: