javascript - Cancel Fetch Streams -


i can't figure out how cancel fetch stream. tried following code, didn't cancel stream.

fetch(url).then(function(response) {  response.body.cancel() }) 

as can see in this open issue, @ time of writing, it's not possible abort fetch stream.

take @ other answer: how cancel http fetch() request?


Comments