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

I like the "revealing constructor" for a "fetch controller" approach: that lets this be orthogonal to any designs intending to create a generalized structure for cancelling promises by designing a fetch-specific API. This "Fetch Controller" object could be extended down the line to add other fetch-adjusting functionality like, say, *reducing the priority* of a fetch (in the sense of HTTP/2, where different resource downloads can have different priorities, IIRC).

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

Received on Thursday, 15 December 2016 23:16:10 UTC