Re: [whatwg/fetch] Aborting a fetch: The Next Generation (#447)

If we really need an object to represent the ongoing operation, this seems the most obvious:
```js
let fetcher = new Fetcher(...args);
let response = await fetcher.fetch();
```
This separates what's synchronous from what's asynchronous. Same approach as [MediaRecorder](https://w3c.github.io/mediacapture-record/MediaRecorder.html#MediaRecorderAPI).

-- 
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/447#issuecomment-270739989

Received on Thursday, 5 January 2017 19:51:46 UTC