- From: Jake Archibald <notifications@github.com>
- Date: Thu, 23 Feb 2017 03:45:13 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 February 2017 11:50:30 UTC
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