- From: Benjamin Gruenbaum <notifications@github.com>
- Date: Tue, 24 Jan 2017 07:32:44 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 24 January 2017 15:33:15 UTC
```js
var cancelController;
fetch("/fetch", {
cancel(cancelFn) { cancelController = cancelFn; }
});
cancelController(); // cancel, returns a promise with true/false
```
--
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/455#issuecomment-274837659
Received on Tuesday, 24 January 2017 15:33:15 UTC