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

Thinking about the sync/async thing again, I think @stuartpb's right. If the object has an event listener, we don't need async getters, as the value can be set as part of the listener.

All I want to ensure is that:

```js
console.log(fetchObserver.state);
fetchObserver.addEventListener('statechange' => {
  console.log(fetchObserver.state);
});
```

…means a state isn't missed between the two logs. But if tasks are queued, it should just work.

@annevk does this make sense?

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

Received on Thursday, 23 February 2017 11:50:30 UTC