Re: [whatwg/fetch] Aborting fetch (#523)

jakearchibald commented on this pull request.



> @@ -4695,6 +4861,7 @@ dictionary RequestInit {
   RequestRedirect redirect;
   DOMString integrity;
   boolean keepalive;
+  AbortSignal? signal;

```js
const request = new Request(otherRequest);
```

If the signal passed to `otherRequest` aborts, so will `request`.

```js
const request = new Request(otherRequest, {signal: null});
```

If the signal passed to `otherRequest` aborts, `request` will not abort.

-- 
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/pull/523#discussion_r138897886

Received on Thursday, 14 September 2017 13:47:36 UTC