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.

Actually, doing this has some implications for the implementation.  With the async getter and no event listener we can actually avoid queueing runnables to the event loop.  With a sync getter we must queue runnables for every change of these values whether an event listener is registered or not.

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

Received on Thursday, 23 February 2017 17:32:10 UTC