- From: Yutaka Hirano <notifications@github.com>
- Date: Fri, 27 Mar 2015 19:15:59 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Saturday, 28 March 2015 02:16:32 UTC
@martinthomson >> That would mean fetch(url).then(r => r.json()) isn't abortable once the stream starts being read into json. > That's OK. At that point, cancelling the stream should suffice. That can be mapped back into a cancellation of the response. Readable[Byte]Stream.cancel works only when the stream is not locked. As `json()` locks it we cannot abort fetch through stream's methods. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/27#issuecomment-87145520
Received on Saturday, 28 March 2015 02:16:32 UTC