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

@stuartpb I forgot to reply to your earlier question. Yes, my intention was to allow a controller to follow multiple signals.

Code for your example, in case anyone finds it easier to follow (like me):

```js
const controllerA = new FetchController();
const controllerB = new FetchController();
const controllerC = new FetchController();

controllerC.follow(controllerB.signal);
controllerB.follow(controllerA.signal);

controllerB.setPriority(2);
controllerC.setPriority(3);
controllerA.setPriority(2);

// controllerA priority: 2
// controllerB priority: 2
// controllerC priority: 3
```

Yeah, I can see what you're saying. I'm not sure how much of an issue it is in practice though. Hmm.

-- 
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-281962996

Received on Thursday, 23 February 2017 11:04:54 UTC