- From: Ron Waldon <notifications@github.com>
- Date: Mon, 21 Aug 2017 16:29:14 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 August 2017 23:29:36 UTC
@CamiloTerevinto @mattlubner I believe `const response = await fetch(url)` gives you a response object that is not necessarily "done", but provides you with body methods to process content that will eventually be available ```js const response = await fetch(url) // if you abort here, then some downloading may have happened, but you can avoid the rest const text = await response.text() // if you abort here, then you just downloaded the whole thing, wasteful! ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/20#issuecomment-323878257
Received on Monday, 21 August 2017 23:29:36 UTC