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

The correct behavior should be that `abort()` returns its own promise, which will resolve with `true` *if and only if* the fetch was terminable. If the fetch *is completed* - even if it's *yet to report its completion* - the `abort()` promise should resolve with `false`.

In any case, the fetch should never be able to go from any terminal state (completed, aborted, or failed) to any other - a completed fetch will never abort or fail, and an aborted fetch will never complete.

See also https://github.com/whatwg/fetch/issues/448#issuecomment-275274933.

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

Received on Thursday, 6 April 2017 23:24:31 UTC