Re: [whatwg/fetch] Aborting a fetch (#27)

@WebReflection, This is not just about `setTimeout`, this is about any way for process to create a point in it's schedule.

Could you reference and properly guard any timer, any interval, any immediate, remove every event listeners in any external library and in all it's dependency and in all native code? No, you couldn't. So your process will dive into dead scopes forever.

You could remove `setTimeout`, but you couldn't remove `setimmediate` and `nextTick`. You couldn't really cancel your promise. You could just simulate this behaviour.

Javascripts have to obtain a schedule management api. It's thread model is not completed. Otherwise any js developer will create `isAborted`, `isDestroyed` workarounds forever.

-- 
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/27#issuecomment-253031529

Received on Tuesday, 11 October 2016 20:12:52 UTC